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

This commit is contained in:
Henri Verbeet 2011-10-13 21:43:08 +02:00 committed by Alexandre Julliard
parent 7ffa768e71
commit 39f898b26a
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);