Skip to content

Commit

Permalink
GLSL Uniform locations are signed ints.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Nov 15, 2009
1 parent f28a979 commit 8685b2e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mojoshader_opengl.c
Expand Up @@ -87,12 +87,12 @@ struct MOJOSHADER_glProgram
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
Expand Down

0 comments on commit 8685b2e

Please sign in to comment.