]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/light.c
Merge commit '93ca259313e7902e89974877f4110fc818e9208b' into garux-merge
[xonotic/netradiant.git] / tools / quake3 / q3map2 / light.c
index 100bed593a748c7e0e2657ce235b08ab6eef5d7a..7d3be10e592df2b826ec280ea1f336f374ef0707 100644 (file)
@@ -2119,7 +2119,7 @@ int LightMain( int argc, char **argv ){
        const char  *value;
        int lightmapMergeSize = 0;
        qboolean lightSamplesInsist = qfalse;
-       qboolean fastAllocate = qfalse;
+       qboolean fastAllocate = qtrue;
 
        /* note it */
        Sys_Printf( "--- Light ---\n" );
@@ -2694,6 +2694,11 @@ int LightMain( int argc, char **argv ){
                        Sys_Printf( "Fast allocation mode enabled\n" );
                }
 
+               else if ( !strcmp( argv[ i ], "-slowallocate" ) ) {
+                       fastAllocate = qfalse;
+                       Sys_Printf( "Slow allocation mode enabled\n" );
+               }
+
                else if ( !strcmp( argv[ i ], "-fastgrid" ) ) {
                        fastgrid = qtrue;
                        Sys_Printf( "Fast grid lighting enabled\n" );