Navigation Menu

Skip to content

Commit

Permalink
No index string on gl_Color/gl_SecondaryColor ...
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed May 11, 2008
1 parent d064270 commit f77d311
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader.c
Expand Up @@ -2330,6 +2330,7 @@ static void emit_GLSL_attribute(Context *ctx, RegisterType regtype, int regnum,

else if (usage == MOJOSHADER_USAGE_COLOR)
{
index_str[0] = '\0'; // no explicit number.
if (index == 0)
usage_str = "gl_Color";
else if (index == 1)
Expand Down

0 comments on commit f77d311

Please sign in to comment.