mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-19 10:10:39 +02:00
demos: fix glxpixmap and call glXWaitGL before calling XCopyArea.
This commit is contained in:
parent
63b51b5cf1
commit
cfae542d1f
1 changed files with 1 additions and 0 deletions
|
|
@ -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 );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue