From f75675031f4d5bf39fd6b3f6076fd556349c8f5e Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 22 Aug 2011 21:02:48 +0200 Subject: [PATCH] wined3d: Make the shader parameter to shader_glsl_generate_pshader() const. --- dlls/wined3d/glsl_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c index 2fec8b90761..f3d8356a4ea 100644 --- a/dlls/wined3d/glsl_shader.c +++ b/dlls/wined3d/glsl_shader.c @@ -3985,7 +3985,7 @@ static void hardcode_local_constants(const struct wined3d_shader *shader, /* GL locking is done by the caller */ static GLuint shader_glsl_generate_pshader(const struct wined3d_context *context, - struct wined3d_shader_buffer *buffer, struct wined3d_shader *shader, + struct wined3d_shader_buffer *buffer, const struct wined3d_shader *shader, const struct ps_compile_args *args, struct ps_np2fixup_info *np2fixup_info) { const struct wined3d_shader_reg_maps *reg_maps = &shader->reg_maps;