Merge branch '7.8' into master
[mesa.git] / progs / xdemos / glxpixmap.c
index f57b7b9a44bb652999eb7a24c4f5cdd75aae342b..e1abd22ceefa22f1c4c035f988e12fc2dfff3a69 100644 (file)
@@ -1,4 +1,3 @@
-/* $Id: glxpixmap.c,v 1.2 2000/07/11 16:05:29 brianp Exp $ */
 
 
 /*
@@ -10,6 +9,7 @@
 
 
 #include <GL/gl.h>
+#define GLX_GLXEXT_PROTOTYPES
 #include <GL/glx.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -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 );