call glFlush only once

that seems to atleast get rid of the flicker
the weird issue that clears don't work is still there
This commit is contained in:
RSDuck
2021-01-29 12:38:18 +01:00
parent b75b3f69b7
commit a3f4aaf503
3 changed files with 8 additions and 6 deletions

View File

@ -226,8 +226,6 @@ void RenderFrame()
glBindBuffer(GL_ARRAY_BUFFER, CompVertexBufferID);
glBindVertexArray(CompVertexArrayID);
glDrawArrays(GL_TRIANGLES, 0, 4*3);
glFlush();
}
void BindOutputTexture()