From 82150458b470621bec8a52395d3bae0c4900f79b Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 31 Aug 2011 20:40:44 +0200 Subject: [PATCH] wined3d: Make the device parameter to wined3d_device_get_transform() 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 ba688664893..ed8afc827c6 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -1899,7 +1899,7 @@ HRESULT CDECL wined3d_device_set_transform(struct wined3d_device *device, } -HRESULT CDECL wined3d_device_get_transform(struct wined3d_device *device, +HRESULT CDECL wined3d_device_get_transform(const struct wined3d_device *device, WINED3DTRANSFORMSTATETYPE state, WINED3DMATRIX *matrix) { TRACE("device %p, state %s, matrix %p.\n", device, debug_d3dtstype(state), matrix); diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h index a0382606608..a5342bc1949 100644 --- a/include/wine/wined3d.h +++ b/include/wine/wined3d.h @@ -2259,7 +2259,7 @@ HRESULT __cdecl wined3d_device_get_texture(struct wined3d_device *device, UINT stage, struct wined3d_texture **texture); HRESULT __cdecl wined3d_device_get_texture_stage_state(struct wined3d_device *device, UINT stage, WINED3DTEXTURESTAGESTATETYPE state, DWORD *value); -HRESULT __cdecl wined3d_device_get_transform(struct wined3d_device *device, +HRESULT __cdecl wined3d_device_get_transform(const struct wined3d_device *device, WINED3DTRANSFORMSTATETYPE state, WINED3DMATRIX *matrix); HRESULT __cdecl wined3d_device_get_vertex_declaration(struct wined3d_device *device, struct wined3d_vertex_declaration **declaration);