wined3d: Make the device parameter to wined3d_device_get_vertex_declaration() const.
This commit is contained in:
parent
bbb77cba74
commit
31906458da
|
@ -2636,7 +2636,7 @@ HRESULT CDECL wined3d_device_set_vertex_declaration(struct wined3d_device *devic
|
|||
return WINED3D_OK;
|
||||
}
|
||||
|
||||
HRESULT CDECL wined3d_device_get_vertex_declaration(struct wined3d_device *device,
|
||||
HRESULT CDECL wined3d_device_get_vertex_declaration(const struct wined3d_device *device,
|
||||
struct wined3d_vertex_declaration **declaration)
|
||||
{
|
||||
TRACE("device %p, declaration %p.\n", device, declaration);
|
||||
|
|
|
@ -2262,7 +2262,7 @@ HRESULT __cdecl wined3d_device_get_texture_stage_state(struct wined3d_device *de
|
|||
UINT stage, WINED3DTEXTURESTAGESTATETYPE state, DWORD *value);
|
||||
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,
|
||||
HRESULT __cdecl wined3d_device_get_vertex_declaration(const struct wined3d_device *device,
|
||||
struct wined3d_vertex_declaration **declaration);
|
||||
struct wined3d_shader * __cdecl wined3d_device_get_vertex_shader(struct wined3d_device *device);
|
||||
HRESULT __cdecl wined3d_device_get_viewport(const struct wined3d_device *device, WINED3DVIEWPORT *viewport);
|
||||
|
|
Loading…
Reference in New Issue