mojoshader.c
branchtrunk
changeset 80 1aacf1be7095
parent 79 36a3467c235d
child 81 367a2d5bba25
equal deleted inserted replaced
79:36a3467c235d 80:1aacf1be7095
  1475 } // get_D3D_comparison_string
  1475 } // get_D3D_comparison_string
  1476 
  1476 
  1477 
  1477 
  1478 static void emit_GLSL_start(Context *ctx)
  1478 static void emit_GLSL_start(Context *ctx)
  1479 {
  1479 {
  1480     ctx->output = &ctx->globals;
       
  1481     switch (ctx->shader_type)
  1480     switch (ctx->shader_type)
  1482     {
  1481     {
  1483         case MOJOSHADER_TYPE_PIXEL:
  1482         case MOJOSHADER_TYPE_PIXEL:
  1484         case MOJOSHADER_TYPE_VERTEX:
  1483         case MOJOSHADER_TYPE_VERTEX:
  1485             break;  // supported.
  1484             break;  // supported.