[PATCH 3/5] wined3d: Make the tex_unit_map parameter to shader_glsl_load_psamplers() const.
Henri Verbeet
hverbeet at codeweavers.com
Thu Jul 21 12:16:02 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 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;
--
1.7.3.4
More information about the wine-patches
mailing list