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

This commit is contained in:
Henri Verbeet 2011-08-31 20:40:44 +02:00 committed by Alexandre Julliard
parent 55ce85ad29
commit 82150458b4
2 changed files with 2 additions and 2 deletions

View File

@ -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) WINED3DTRANSFORMSTATETYPE state, WINED3DMATRIX *matrix)
{ {
TRACE("device %p, state %s, matrix %p.\n", device, debug_d3dtstype(state), matrix); TRACE("device %p, state %s, matrix %p.\n", device, debug_d3dtstype(state), matrix);

View File

@ -2259,7 +2259,7 @@ HRESULT __cdecl wined3d_device_get_texture(struct wined3d_device *device,
UINT stage, struct wined3d_texture **texture); UINT stage, struct wined3d_texture **texture);
HRESULT __cdecl wined3d_device_get_texture_stage_state(struct wined3d_device *device, HRESULT __cdecl wined3d_device_get_texture_stage_state(struct wined3d_device *device,
UINT stage, WINED3DTEXTURESTAGESTATETYPE state, DWORD *value); 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); WINED3DTRANSFORMSTATETYPE state, WINED3DMATRIX *matrix);
HRESULT __cdecl wined3d_device_get_vertex_declaration(struct wined3d_device *device, HRESULT __cdecl wined3d_device_get_vertex_declaration(struct wined3d_device *device,
struct wined3d_vertex_declaration **declaration); struct wined3d_vertex_declaration **declaration);