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

This commit is contained in:
Henri Verbeet 2011-09-06 19:19:52 +02:00 committed by Alexandre Julliard
parent b55dcfd35a
commit 33f087c95d
2 changed files with 2 additions and 2 deletions

View File

@ -2500,7 +2500,7 @@ HRESULT CDECL wined3d_device_set_render_state(struct wined3d_device *device,
return WINED3D_OK;
}
HRESULT CDECL wined3d_device_get_render_state(struct wined3d_device *device,
HRESULT CDECL wined3d_device_get_render_state(const struct wined3d_device *device,
WINED3DRENDERSTATETYPE state, DWORD *value)
{
TRACE("device %p, state %s (%#x), value %p.\n", device, debug_d3drenderstate(state), state, value);

View File

@ -2239,7 +2239,7 @@ HRESULT __cdecl wined3d_device_get_ps_consts_i(struct wined3d_device *device,
UINT start_register, int *constants, UINT vector4i_count);
HRESULT __cdecl wined3d_device_get_raster_status(struct wined3d_device *device,
UINT swapchain_idx, WINED3DRASTER_STATUS *raster_status);
HRESULT __cdecl wined3d_device_get_render_state(struct wined3d_device *device,
HRESULT __cdecl wined3d_device_get_render_state(const struct wined3d_device *device,
WINED3DRENDERSTATETYPE state, DWORD *value);
HRESULT __cdecl wined3d_device_get_render_target(struct wined3d_device *device,
UINT render_target_idx, struct wined3d_surface **render_target);