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:
parent
f41b2fc177
commit
fea88beb38
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user