Module: wine Branch: master Commit: 82150458b470621bec8a52395d3bae0c4900f79b URL: http://source.winehq.org/git/wine.git/?a=commit;h=82150458b470621bec8a52395d...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Aug 31 20:40:44 2011 +0200
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 ba68866..ed8afc8 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 a038260..a5342bc 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);