summaryrefslogtreecommitdiff
path: root/progs/xdemos/glxpixmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/xdemos/glxpixmap.c')
-rw-r--r--progs/xdemos/glxpixmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/xdemos/glxpixmap.c b/progs/xdemos/glxpixmap.c
index 9db4df2c8b8..e1abd22ceef 100644
--- a/progs/xdemos/glxpixmap.c
+++ b/progs/xdemos/glxpixmap.c
@@ -178,6 +178,7 @@ int main( int argc, char *argv[] )
glColor3f( 0.0, 1.0, 1.0 );
glRectf( -0.75, -0.75, 0.75, 0.75 );
glFlush();
+ glXWaitGL();
XMapWindow( dpy, win );