summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@vmware.com>2009-02-16 11:54:58 +0000
committerAlan Hourihane <alanh@vmware.com>2009-02-16 11:55:47 +0000
commitac0955f5e26de49450508cd605b066b3c6b69971 (patch)
tree221e37738e32ffd3fceec47a4197b4c59705fa27 /progs
parent4130c35ca86b34193160f1085407044d943e1dcc (diff)
demos: fix glxpixmap and call glXWaitGL before calling XCopyArea.
Diffstat (limited to 'progs')
-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 );