* 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-861f7616d084
master
Giel van Schijndel 2007-11-28 21:53:59 +00:00
parent 091deaf4e8
commit 263f92f24f
1 changed files with 1 additions and 1 deletions

View File

@ -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)