Henri Verbeet : wined3d: Make the device parameter to wined3d_device_get_raster_status() const.

Alexandre Julliard julliard at winehq.org
Fri Oct 14 14:14:47 CDT 2011


Module: wine
Branch: master
Commit: 39f898b26a5985e35fd776641c827a901abc625d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=39f898b26a5985e35fd776641c827a901abc625d

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Oct 13 21:43:08 2011 +0200

wined3d: Make the device parameter to wined3d_device_get_raster_status() const.

---

 dlls/wined3d/device.c  |    2 +-
 include/wine/wined3d.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index ec9126f..4509d93 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -4568,7 +4568,7 @@ BOOL CDECL wined3d_device_get_software_vertex_processing(const struct wined3d_de
     return device->softwareVertexProcessing;
 }
 
-HRESULT CDECL wined3d_device_get_raster_status(struct wined3d_device *device,
+HRESULT CDECL wined3d_device_get_raster_status(const struct wined3d_device *device,
         UINT swapchain_idx, WINED3DRASTER_STATUS *raster_status)
 {
     struct wined3d_swapchain *swapchain;
diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
index c6949bd..92d7d4d 100644
--- a/include/wine/wined3d.h
+++ b/include/wine/wined3d.h
@@ -2234,7 +2234,7 @@ HRESULT __cdecl wined3d_device_get_ps_consts_f(const struct wined3d_device *devi
         UINT start_register, float *constants, UINT vector4f_count);
 HRESULT __cdecl wined3d_device_get_ps_consts_i(const struct wined3d_device *device,
         UINT start_register, int *constants, UINT vector4i_count);
-HRESULT __cdecl wined3d_device_get_raster_status(struct wined3d_device *device,
+HRESULT __cdecl wined3d_device_get_raster_status(const struct wined3d_device *device,
         UINT swapchain_idx, WINED3DRASTER_STATUS *raster_status);
 HRESULT __cdecl wined3d_device_get_render_state(const struct wined3d_device *device,
         WINED3DRENDERSTATETYPE state, DWORD *value);




More information about the wine-cvs mailing list