1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 14:14:47 +01:00

experimental glClear - maybe it's enough to clear the buffers only once initially?

This commit is contained in:
FunkyFr3sh 2018-12-10 06:46:57 +01:00
parent f41b2fc177
commit fea88beb38

View File

@ -646,6 +646,8 @@ static void Render()
static int errorCheckCount = 0;
if (errorCheckCount < 20)
{
glClear(GL_COLOR_BUFFER_BIT);
errorCheckCount++;
if (glGetError() != GL_NO_ERROR)