* Always clear the colour buffer in pie_ScreenFlip; this should prevent "screen smearing"; hinted by Buginator
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2901 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
091deaf4e8
commit
263f92f24f
|
@ -121,7 +121,7 @@ void pie_ScreenFlip(int clearMode) {
|
|||
break;
|
||||
default:
|
||||
glDepthMask(GL_TRUE);
|
||||
clearFlags = GL_DEPTH_BUFFER_BIT;
|
||||
clearFlags = GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT;
|
||||
break;
|
||||
}
|
||||
if(clearMode&CLEAR_SHADOW_MASK)
|
||||
|
|
Loading…
Reference in New Issue