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

Alexandre Julliard julliard at winehq.org
Tue Oct 11 14:03:39 CDT 2011


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Oct 11 17:24:55 2011 +0200

wined3d: Make the device parameter to wined3d_device_get_software_vertex_processing() 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 6e8eb2d..ec9126f 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -4553,7 +4553,7 @@ HRESULT CDECL wined3d_device_set_software_vertex_processing(struct wined3d_devic
     return WINED3D_OK;
 }
 
-BOOL CDECL wined3d_device_get_software_vertex_processing(struct wined3d_device *device)
+BOOL CDECL wined3d_device_get_software_vertex_processing(const struct wined3d_device *device)
 {
     static BOOL warned;
 
diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
index 3dec8ba..c6949bd 100644
--- a/include/wine/wined3d.h
+++ b/include/wine/wined3d.h
@@ -2243,7 +2243,7 @@ HRESULT __cdecl wined3d_device_get_render_target(struct wined3d_device *device,
 HRESULT __cdecl wined3d_device_get_sampler_state(const struct wined3d_device *device,
         UINT sampler_idx, WINED3DSAMPLERSTATETYPE state, DWORD *value);
 HRESULT __cdecl wined3d_device_get_scissor_rect(const struct wined3d_device *device, RECT *rect);
-BOOL __cdecl wined3d_device_get_software_vertex_processing(struct wined3d_device *device);
+BOOL __cdecl wined3d_device_get_software_vertex_processing(const struct wined3d_device *device);
 HRESULT __cdecl wined3d_device_get_stream_source(const struct wined3d_device *device,
         UINT stream_idx, struct wined3d_buffer **buffer, UINT *offset, UINT *stride);
 HRESULT __cdecl wined3d_device_get_stream_source_freq(const struct wined3d_device *device,




More information about the wine-cvs mailing list