Commit 652d80d9 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent dd2378cb
...@@ -4553,7 +4553,7 @@ HRESULT CDECL wined3d_device_set_software_vertex_processing(struct wined3d_devic ...@@ -4553,7 +4553,7 @@ HRESULT CDECL wined3d_device_set_software_vertex_processing(struct wined3d_devic
return WINED3D_OK; 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; static BOOL warned;
......
...@@ -2243,7 +2243,7 @@ HRESULT __cdecl wined3d_device_get_render_target(struct wined3d_device *device, ...@@ -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, HRESULT __cdecl wined3d_device_get_sampler_state(const struct wined3d_device *device,
UINT sampler_idx, WINED3DSAMPLERSTATETYPE state, DWORD *value); UINT sampler_idx, WINED3DSAMPLERSTATETYPE state, DWORD *value);
HRESULT __cdecl wined3d_device_get_scissor_rect(const struct wined3d_device *device, RECT *rect); 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, HRESULT __cdecl wined3d_device_get_stream_source(const struct wined3d_device *device,
UINT stream_idx, struct wined3d_buffer **buffer, UINT *offset, UINT *stride); UINT stream_idx, struct wined3d_buffer **buffer, UINT *offset, UINT *stride);
HRESULT __cdecl wined3d_device_get_stream_source_freq(const struct wined3d_device *device, HRESULT __cdecl wined3d_device_get_stream_source_freq(const struct wined3d_device *device,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment