summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/trivial/clear-fbo-tex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/trivial/clear-fbo-tex.c b/src/trivial/clear-fbo-tex.c
index d91dd67d..de84f98f 100644
--- a/src/trivial/clear-fbo-tex.c
+++ b/src/trivial/clear-fbo-tex.c
@@ -163,6 +163,8 @@ static void Draw( void )
if (doubleBuffer) {
glutSwapBuffers();
+ } else {
+ glFlush();
}
CheckError();