demos: fix glxpixmap and call glXWaitGL before calling XCopyArea.
authorAlan Hourihane <alanh@vmware.com>
Mon, 16 Feb 2009 11:54:58 +0000 (11:54 +0000)
committerAlan Hourihane <alanh@vmware.com>
Mon, 16 Feb 2009 11:56:21 +0000 (11:56 +0000)
progs/xdemos/glxpixmap.c

index 9db4df2c8b8d660786762633f7fce2495cf18416..e1abd22ceefa22f1c4c035f988e12fc2dfff3a69 100644 (file)
@@ -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 );