Skip to content
Browse files
Changed a "vec" to a "vec4".
branch : trunk
  • Loading branch information
icculus committed Apr 16, 2008
1 parent c8b85c1 commit baa0d3f066dd9bfdc4a0807a4e76cfd6b18eba01
Showing with 1 addition and 1 deletion.
  1. +1 −1 mojoshader.c
@@ -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);
output_line(ctx, "#define %s %s%s%s%s", varname, usage_str,

0 comments on commit baa0d3f

Please sign in to comment.