Module: wine Branch: master Commit: 96187a54a99257417fac4846dc0f1ef6c8641295 URL: http://source.winehq.org/git/wine.git/?a=commit;h=96187a54a99257417fac4846dc...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Sun Oct 23 18:24:00 2011 +0200
wined3d: Make the context parameter to bind_dummy_textures() const.
---
dlls/wined3d/context.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 2c26728..2742b54 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -1282,7 +1282,7 @@ static int context_choose_pixel_format(const struct wined3d_device *device, HDC }
/* 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; unsigned int i, count = min(MAX_COMBINED_SAMPLERS, gl_info->limits.combined_samplers);