Module: Demos Branch: master Commit: fde9ff1fff8047ccc9bb804c754d04a547ab3010 URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=fde9ff1fff8047ccc9bb804c754d04a547ab3010
Author: José Fonseca <[email protected]> Date: Thu Jun 2 17:54:36 2011 +0100 clear-fbo-tex: Add missing glFlush call on single buffered visual. Otherwise the rendering doesn't happen. --- src/trivial/clear-fbo-tex.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/trivial/clear-fbo-tex.c b/src/trivial/clear-fbo-tex.c index d91dd67..de84f98 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(); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
