add also a -nosRGB option to turn sRGB off

This commit is contained in:
Rudolf Polzer
2011-10-22 15:38:56 +02:00
parent 5c97bccbf6
commit 98bf67071d

View File

@@ -2214,9 +2214,14 @@ int LightMain( int argc, char **argv )
{
lightmapsRGB = qtrue;
Sys_Printf( "Lighting is in sRGB\n" );
i++;
}
else if( !strcmp( argv[ i ], "-nosRGB" ) )
{
lightmapsRGB = qfalse;
Sys_Printf( "Lighting is linear\n" );
}
else if( !strcmp( argv[ i ], "-exposure" ) )
{
f = atof( argv[ i + 1 ] );