Commit 96187a54 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Make the context parameter to bind_dummy_textures() const.

parent e6101816
...@@ -1282,7 +1282,7 @@ static int context_choose_pixel_format(const struct wined3d_device *device, HDC ...@@ -1282,7 +1282,7 @@ static int context_choose_pixel_format(const struct wined3d_device *device, HDC
} }
/* GL locking is done by the caller */ /* GL locking is done by the caller */
static void bind_dummy_textures(const struct wined3d_device *device, struct wined3d_context *context) static void bind_dummy_textures(const struct wined3d_device *device, const struct wined3d_context *context)
{ {
const struct wined3d_gl_info *gl_info = context->gl_info; const struct wined3d_gl_info *gl_info = context->gl_info;
unsigned int i, count = min(MAX_COMBINED_SAMPLERS, gl_info->limits.combined_samplers); unsigned int i, count = min(MAX_COMBINED_SAMPLERS, gl_info->limits.combined_samplers);
......
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