mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +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;
|
static int errorCheckCount = 0;
|
||||||
if (errorCheckCount < 20)
|
if (errorCheckCount < 20)
|
||||||
{
|
{
|
||||||
|
glClear(GL_COLOR_BUFFER_BIT);
|
||||||
|
|
||||||
errorCheckCount++;
|
errorCheckCount++;
|
||||||
|
|
||||||
if (glGetError() != GL_NO_ERROR)
|
if (glGetError() != GL_NO_ERROR)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user