]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/bsp.c
add shorthand option -nosRGB to turn off all sRGB modes
[xonotic/netradiant.git] / tools / quake3 / q3map2 / bsp.c
index 2ef482f1a5201e60e18fea037045e21800680e41..4ccf97e2f113b0786bb5bb8dbbc9e041a5040d2d 100644 (file)
@@ -952,6 +952,13 @@ int BSPMain( int argc, char **argv )
                        colorsRGB = qfalse;
                        Sys_Printf( "Colors are linear\n" );
                }
+               else if( !strcmp( argv[ i ], "-nosRGB" ) )
+               {
+                       texturesRGB = qfalse;
+                       Sys_Printf( "Textures are linear\n" );
+                       colorsRGB = qfalse;
+                       Sys_Printf( "Colors are linear\n" );
+               }
                else if( !strcmp( argv[ i ], "-altsplit" ) )
                {
                        Sys_Printf( "Alternate BSP splitting (by 27) enabled\n" );