File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1881,7 +1881,13 @@ void CMaterialSystem::ReadConfigFromConVars( MaterialSystem_Config_t *pConfig )
1881
1881
pConfig->bMipMapTextures = mat_mipmaptextures.GetInt () ? true : false ;
1882
1882
pConfig->nShowMipLevels = mat_showmiplevels.GetInt ();
1883
1883
pConfig->bReverseDepth = mat_reversedepth.GetInt () ? true : false ;
1884
+
1885
+ #ifdef DX_TO_GL_ABSTRACTION
1886
+ pConfig->bBufferPrimitives = false ; // nillerusr: causes rendering bugs and sefaults with nvidia driver
1887
+ #else
1884
1888
pConfig->bBufferPrimitives = mat_bufferprimitives.GetInt () ? true : false ;
1889
+ #endif
1890
+
1885
1891
pConfig->bDrawFlat = mat_drawflat.GetInt () ? true : false ;
1886
1892
pConfig->bSoftwareLighting = mat_softwarelighting.GetInt () ? true : false ;
1887
1893
pConfig->proxiesTestMode = mat_proxy.GetInt ();
You can’t perform that action at this time.
0 commit comments