add shorthand option -nosRGB to turn off all sRGB modes
This commit is contained in:
parent
56bbeb0552
commit
f536f829e5
|
|
@ -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" );
|
||||
|
|
|
|||
|
|
@ -2289,6 +2289,16 @@ int LightMain( int argc, char **argv )
|
|||
Sys_Printf( "Colors are linear\n" );
|
||||
}
|
||||
|
||||
else if( !strcmp( argv[ i ], "-nosRGB" ) )
|
||||
{
|
||||
lightmapsRGB = qtrue;
|
||||
Sys_Printf( "Lighting is linear\n" );
|
||||
texturesRGB = qtrue;
|
||||
Sys_Printf( "Textures are linear\n" );
|
||||
colorsRGB = qtrue;
|
||||
Sys_Printf( "Colors are linear\n" );
|
||||
}
|
||||
|
||||
else if( !strcmp( argv[ i ], "-exposure" ) )
|
||||
{
|
||||
f = atof( argv[ i + 1 ] );
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user