Henri Verbeet : wined3d: Make the tex_unit_map parameter to shader_glsl_load_vsamplers() const.

Alexandre Julliard julliard at winehq.org
Fri Jul 22 10:15:57 CDT 2011


Module: wine
Branch: master
Commit: 959874c2d88f616c4706ab6558b95ddf4cc71e29
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=959874c2d88f616c4706ab6558b95ddf4cc71e29

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Jul 21 19:16:03 2011 +0200

wined3d: Make the tex_unit_map parameter to shader_glsl_load_vsamplers() const.

---

 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];




More information about the wine-cvs mailing list