From cfae542d1f34d95ce6a740311d8331a74307d31f Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Mon, 16 Feb 2009 11:54:58 +0000 Subject: demos: fix glxpixmap and call glXWaitGL before calling XCopyArea. --- progs/xdemos/glxpixmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/progs/xdemos/glxpixmap.c b/progs/xdemos/glxpixmap.c index 9db4df2c8b..e1abd22cee 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 ); -- cgit v1.2.3