Skip to content

Commit

Permalink
Fixed compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 26, 2009
1 parent d9b41d1 commit 566e024
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mojoshader_opengl.c
Expand Up @@ -1459,8 +1459,7 @@ static int build_constants_lists(MOJOSHADER_glProgram *program)
continue; // nothing to see here.

// only use arrays for 'c' registers.
const MOJOSHADER_uniformType type = u->type;
assert(type == MOJOSHADER_UNIFORM_FLOAT);
assert(u->type == MOJOSHADER_UNIFORM_FLOAT);

// !!! FIXME: deal with this.
} // for
Expand Down

0 comments on commit 566e024

Please sign in to comment.