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

This commit is contained in:
Henri Verbeet 2011-09-07 20:22:01 +02:00 committed by Alexandre Julliard
parent 919d3ab9e4
commit 20e9b3f13f
2 changed files with 2 additions and 2 deletions

View File

@ -2595,7 +2595,7 @@ HRESULT CDECL wined3d_device_set_scissor_rect(struct wined3d_device *device, con
return WINED3D_OK;
}
HRESULT CDECL wined3d_device_get_scissor_rect(struct wined3d_device *device, RECT *rect)
HRESULT CDECL wined3d_device_get_scissor_rect(const struct wined3d_device *device, RECT *rect)
{
TRACE("device %p, rect %p.\n", device, rect);

View File

@ -2245,7 +2245,7 @@ HRESULT __cdecl wined3d_device_get_render_target(struct wined3d_device *device,
UINT render_target_idx, struct wined3d_surface **render_target);
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(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);
HRESULT __cdecl wined3d_device_get_stream_source(const struct wined3d_device *device,
UINT stream_idx, struct wined3d_buffer **buffer, UINT *offset, UINT *stride);