]> git.xonotic.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)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 26 Oct 2011 22:57:31 +0000 (22:57 +0000)
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

vid_shared.c

index 411aceff1592b2e17fe2efae66307a130bb79148..71c39b321e64611b2e4dd43c85bd32dadb284fad 100644 (file)
@@ -135,7 +135,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!