demos: fix glxpixmap and call glXWaitGL before calling XCopyArea.

This commit is contained in:
Alan Hourihane
2009-02-16 11:54:58 +00:00
parent 63b51b5cf1
commit cfae542d1f

View 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 );