fprintf( f, "\t\t\t*MAP_SUBNO\t1\r\n" );
fprintf( f, "\t\t\t*MAP_AMOUNT\t1.0\r\n" );
fprintf( f, "\t\t\t*MAP_TYPE\tScreen\r\n" );
- if(...)
- fprintf( f, "\t\t\t*BITMAP\t\"..\\%s\"\r\n", filename );
- else
+ if(shadersAsBitmap)
fprintf( f, "\t\t\t*BITMAP\t\"%s\"\r\n", shader->shader );
+ else
+ fprintf( f, "\t\t\t*BITMAP\t\"..\\%s\"\r\n", filename );
fprintf( f, "\t\t\t*BITMAP_FILTER\tPyramidal\r\n" );
fprintf( f, "\t\t}\r\n" );