mojoshader.c
branchtrunk
changeset 60 790a87c64c79
parent 59 1545354b2791
child 61 0a1de4d2ba04
equal deleted inserted replaced
59:1545354b2791 60:790a87c64c79
  1288         failf(ctx, "Shader type %u unsupported in this profile.",
  1288         failf(ctx, "Shader type %u unsupported in this profile.",
  1289               (uint) ctx->shader_type);
  1289               (uint) ctx->shader_type);
  1290     } // else
  1290     } // else
  1291 
  1291 
  1292     ctx->output = &ctx->mainline;
  1292     ctx->output = &ctx->mainline;
  1293     output_line(ctx, "void main() {");
  1293     output_line(ctx, "void main()");
       
  1294     output_line(ctx, "{");
  1294     ctx->indent++;
  1295     ctx->indent++;
  1295 } // emit_GLSL_start
  1296 } // emit_GLSL_start
  1296 
  1297 
  1297 static void emit_GLSL_RET(Context *ctx);
  1298 static void emit_GLSL_RET(Context *ctx);
  1298 static void emit_GLSL_end(Context *ctx)
  1299 static void emit_GLSL_end(Context *ctx)