mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
Default gl_clear to 1, as described in "Common mistakes" https://www.opengl.org/wiki/Common_Mistakes#Swap_Buffers
"The buffers should always be cleared. On much older hardware, there was a technique to get away without clearing the scene, but on even semi-recent hardware, this will actually make things slower. So always do the clear." Plus it's nice for map development / debugging. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1287 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
ae8a4f82da
commit
36d9cc4b42
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ cvar_t r_dynamic = {"r_dynamic","1",CVAR_ARCHIVE};
|
|||
cvar_t r_novis = {"r_novis","0",CVAR_ARCHIVE};
|
||||
|
||||
cvar_t gl_finish = {"gl_finish","0",CVAR_NONE};
|
||||
cvar_t gl_clear = {"gl_clear","0",CVAR_NONE};
|
||||
cvar_t gl_clear = {"gl_clear","1",CVAR_NONE};
|
||||
cvar_t gl_cull = {"gl_cull","1",CVAR_NONE};
|
||||
cvar_t gl_smoothmodels = {"gl_smoothmodels","1",CVAR_NONE};
|
||||
cvar_t gl_affinemodels = {"gl_affinemodels","0",CVAR_NONE};
|
||||
|
|
Loading…
Reference in a new issue