# HG changeset patch # User Ryan C. Gordon # Date 1258311701 18000 # Node ID 58d15db2881e6e8bf7c8137ccf100a9d9ac498b9 # Parent ab5e4797e0cbb81653f05be772e4cca5ba0af9ab GLSL Uniform locations are signed ints. diff -r ab5e4797e0cb -r 58d15db2881e mojoshader_opengl.c --- a/mojoshader_opengl.c Fri Aug 28 01:02:03 2009 -0400 +++ b/mojoshader_opengl.c Sun Nov 15 14:01:41 2009 -0500 @@ -87,12 +87,12 @@ GLint *ps_uniforms_bool; uint32 refcount; // GLSL uses these...location of uniform arrays. - GLuint vs_float4_loc; - GLuint vs_int4_loc; - GLuint vs_bool_loc; - GLuint ps_float4_loc; - GLuint ps_int4_loc; - GLuint ps_bool_loc; + GLint vs_float4_loc; + GLint vs_int4_loc; + GLint vs_bool_loc; + GLint ps_float4_loc; + GLint ps_int4_loc; + GLint ps_bool_loc; }; #ifndef WINGDIAPI