experimental glClear - maybe it's enough to clear the buffers only once initially?
This commit is contained in:
parent
f41b2fc177
commit
fea88beb38
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue