Skip to content

Commit

Permalink
Fixed cut-and-paste error.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 8, 2009
1 parent 642d6c9 commit 5653855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_opengl.c
Expand Up @@ -1341,7 +1341,7 @@ static int lookup_uniforms(MOJOSHADER_glProgram *program,
gltyp *ptr = (gltyp *) Malloc(buflen); \
if (ptr == NULL) { \
return 0; \
} else if (shader_type == MOJOSHADER_TYPE_PIXEL) { \
} else if (shader_type == MOJOSHADER_TYPE_VERTEX) { \
program->vs_uniforms_##typ = ptr; \
program->vs_uniforms_##typ##_count = count; \
} else if (shader_type == MOJOSHADER_TYPE_PIXEL) { \
Expand Down

0 comments on commit 5653855

Please sign in to comment.