demos: fix glxpixmap and call glXWaitGL before calling XCopyArea.
This commit is contained in:
@@ -178,6 +178,7 @@ int main( int argc, char *argv[] )
|
|||||||
glColor3f( 0.0, 1.0, 1.0 );
|
glColor3f( 0.0, 1.0, 1.0 );
|
||||||
glRectf( -0.75, -0.75, 0.75, 0.75 );
|
glRectf( -0.75, -0.75, 0.75, 0.75 );
|
||||||
glFlush();
|
glFlush();
|
||||||
|
glXWaitGL();
|
||||||
|
|
||||||
XMapWindow( dpy, win );
|
XMapWindow( dpy, win );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user