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

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


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

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

wined3d: Make the tex_unit_map parameter to shader_glsl_load_psamplers() 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 c8b4a0a..b046263 100644
--- a/dlls/wined3d/glsl_shader.c
+++ b/dlls/wined3d/glsl_shader.c
@@ -351,7 +351,7 @@ static void shader_glsl_validate_link(const struct wined3d_gl_info *gl_info, GLh
  */
 /* GL locking is done by the caller */
 static void shader_glsl_load_psamplers(const struct wined3d_gl_info *gl_info,
-        DWORD *tex_unit_map, GLhandleARB programId)
+        const DWORD *tex_unit_map, GLhandleARB programId)
 {
     GLint name_loc;
     int i;




More information about the wine-cvs mailing list