Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Changed a "vec" to a "vec4".
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 16, 2008
1 parent c8b85c1 commit baa0d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -1977,7 +1977,7 @@ static void emit_GLSL_attribute(Context *ctx, RegisterType regtype, int regnum,
push_output(ctx, &ctx->globals);
// no mapping to built-in var? Just make it a regular global, pray.
if (usage_str == NULL)
output_line(ctx, "vec %s;", varname);
output_line(ctx, "vec4 %s;", varname);
else
{
output_line(ctx, "#define %s %s%s%s%s", varname, usage_str,
Expand Down

0 comments on commit baa0d3f

Please sign in to comment.