Mesa (gallium-mesa-7.4): demos: fix glxpixmap and call glXWaitGL before calling XCopyArea.

Alan Hourihane alanh at kemper.freedesktop.org
Mon Feb 16 17:31:28 UTC 2009


Module: Mesa
Branch: gallium-mesa-7.4
Commit: ac0955f5e26de49450508cd605b066b3c6b69971
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac0955f5e26de49450508cd605b066b3c6b69971

Author: Alan Hourihane <alanh at vmware.com>
Date:   Mon Feb 16 11:54:58 2009 +0000

demos: fix glxpixmap and call glXWaitGL before calling XCopyArea.

---

 progs/xdemos/glxpixmap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/progs/xdemos/glxpixmap.c b/progs/xdemos/glxpixmap.c
index 9db4df2..e1abd22 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 );
 




More information about the mesa-commit mailing list