Skip to content

Commit

Permalink
I think this should be "bool" here.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 7, 2009
1 parent 04d3245 commit 55443c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -1678,7 +1678,7 @@ static const char *get_GLSL_uniform_type(Context *ctx, const RegisterType rtype)
{
case REG_TYPE_CONST: return "vec4";
case REG_TYPE_CONSTINT: return "ivec4";
case REG_TYPE_CONSTBOOL: return "bvec4";
case REG_TYPE_CONSTBOOL: return "bool";
default: fail(ctx, "BUG: used a uniform we don't know how to define.");
} // switch

Expand Down

0 comments on commit 55443c5

Please sign in to comment.