Commit 5385e1b3 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 31906458
......@@ -2683,7 +2683,7 @@ HRESULT CDECL wined3d_device_set_vertex_shader(struct wined3d_device *device, st
return WINED3D_OK;
}
struct wined3d_shader * CDECL wined3d_device_get_vertex_shader(struct wined3d_device *device)
struct wined3d_shader * CDECL wined3d_device_get_vertex_shader(const struct wined3d_device *device)
{
struct wined3d_shader *shader;
......
......@@ -2264,7 +2264,7 @@ HRESULT __cdecl wined3d_device_get_transform(const struct wined3d_device *device
WINED3DTRANSFORMSTATETYPE state, WINED3DMATRIX *matrix);
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);
struct wined3d_shader * __cdecl wined3d_device_get_vertex_shader(const struct wined3d_device *device);
HRESULT __cdecl wined3d_device_get_viewport(const struct wined3d_device *device, WINED3DVIEWPORT *viewport);
HRESULT __cdecl wined3d_device_get_vs_consts_b(struct wined3d_device *device,
UINT start_register, BOOL *constants, UINT bool_count);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment