]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
vid_soft_threads 8 by default because excessive threads doesn't hurt
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 26 Oct 2011 22:57:31 +0000 (22:57 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 31 Oct 2011 08:00:59 +0000 (09:00 +0100)
low-core cpus very much and this helps high-core cpus a lot

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11480 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=2f4f96b66e42130165bdb419c59111f67eeae91b

vid_shared.c

index 87a188effacfc94ef29ed2ab7ea7884c7accba68..1ace5fefb9003e86570d97f8aa6c584b51f5d25c 100644 (file)
@@ -139,7 +139,7 @@ cvar_t joy_x360_sensitivityroll = {0, "joy_x360_sensitivityroll", "1", "movement
 
 // cvars for DPSOFTRAST
 cvar_t vid_soft = {CVAR_SAVE, "vid_soft", "0", "enables use of the DarkPlaces Software Rasterizer rather than OpenGL or Direct3D"};
-cvar_t vid_soft_threads = {CVAR_SAVE, "vid_soft_threads", "2", "the number of threads the DarkPlaces Software Rasterizer should use"}; 
+cvar_t vid_soft_threads = {CVAR_SAVE, "vid_soft_threads", "8", "the number of threads the DarkPlaces Software Rasterizer should use"}; 
 cvar_t vid_soft_interlace = {CVAR_SAVE, "vid_soft_interlace", "1", "whether the DarkPlaces Software Rasterizer should interlace the screen bands occupied by each thread"};
 
 // we don't know until we try it!