From: Alan Hourihane Date: Mon, 16 Feb 2009 11:54:58 +0000 (+0000) Subject: demos: fix glxpixmap and call glXWaitGL before calling XCopyArea. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfae542d1f34d95ce6a740311d8331a74307d31f;p=mesa.git demos: fix glxpixmap and call glXWaitGL before calling XCopyArea. --- 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 );