File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 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 )
18811881 pConfig->bMipMapTextures = mat_mipmaptextures.GetInt () ? true : false ;
18821882 pConfig->nShowMipLevels = mat_showmiplevels.GetInt ();
18831883 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
18841888 pConfig->bBufferPrimitives = mat_bufferprimitives.GetInt () ? true : false ;
1889+ #endif
1890+
18851891 pConfig->bDrawFlat = mat_drawflat.GetInt () ? true : false ;
18861892 pConfig->bSoftwareLighting = mat_softwarelighting.GetInt () ? true : false ;
18871893 pConfig->proxiesTestMode = mat_proxy.GetInt ();
You can’t perform that action at this time.
0 commit comments