[PATCH 4/5] wined3d: Make the tex_unit_map parameter to shader_glsl_load_vsamplers() const.

Henri Verbeet hverbeet at codeweavers.com
Thu Jul 21 12:16:03 CDT 2011


---
 dlls/wined3d/glsl_shader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c
index b046263..dec690e 100644
--- a/dlls/wined3d/glsl_shader.c
+++ b/dlls/wined3d/glsl_shader.c
@@ -376,7 +376,7 @@ static void shader_glsl_load_psamplers(const struct wined3d_gl_info *gl_info,
 
 /* GL locking is done by the caller */
 static void shader_glsl_load_vsamplers(const struct wined3d_gl_info *gl_info,
-        DWORD *tex_unit_map, GLhandleARB programId)
+        const DWORD *tex_unit_map, GLhandleARB programId)
 {
     GLint name_loc;
     char sampler_name[20];
-- 
1.7.3.4




More information about the wine-patches mailing list