Commit a9fcaed6 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 39f898b2
...@@ -4613,7 +4613,7 @@ HRESULT CDECL wined3d_device_set_npatch_mode(struct wined3d_device *device, floa ...@@ -4613,7 +4613,7 @@ HRESULT CDECL wined3d_device_set_npatch_mode(struct wined3d_device *device, floa
return WINED3D_OK; return WINED3D_OK;
} }
float CDECL wined3d_device_get_npatch_mode(struct wined3d_device *device) float CDECL wined3d_device_get_npatch_mode(const struct wined3d_device *device)
{ {
static BOOL warned; static BOOL warned;
......
...@@ -2224,7 +2224,7 @@ HRESULT __cdecl wined3d_device_get_index_buffer(const struct wined3d_device *dev ...@@ -2224,7 +2224,7 @@ HRESULT __cdecl wined3d_device_get_index_buffer(const struct wined3d_device *dev
HRESULT __cdecl wined3d_device_get_light(const struct wined3d_device *device, UINT light_idx, WINED3DLIGHT *light); HRESULT __cdecl wined3d_device_get_light(const struct wined3d_device *device, UINT light_idx, WINED3DLIGHT *light);
HRESULT __cdecl wined3d_device_get_light_enable(const struct wined3d_device *device, UINT light_idx, BOOL *enable); HRESULT __cdecl wined3d_device_get_light_enable(const struct wined3d_device *device, UINT light_idx, BOOL *enable);
HRESULT __cdecl wined3d_device_get_material(const struct wined3d_device *device, WINED3DMATERIAL *material); HRESULT __cdecl wined3d_device_get_material(const struct wined3d_device *device, WINED3DMATERIAL *material);
float __cdecl wined3d_device_get_npatch_mode(struct wined3d_device *device); float __cdecl wined3d_device_get_npatch_mode(const struct wined3d_device *device);
struct wined3d_shader * __cdecl wined3d_device_get_pixel_shader(const struct wined3d_device *device); struct wined3d_shader * __cdecl wined3d_device_get_pixel_shader(const struct wined3d_device *device);
void __cdecl wined3d_device_get_primitive_type(const struct wined3d_device *device, void __cdecl wined3d_device_get_primitive_type(const struct wined3d_device *device,
WINED3DPRIMITIVETYPE *primitive_topology); WINED3DPRIMITIVETYPE *primitive_topology);
......
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