mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 00:10:33 +01:00
Use frontbuffer if GLUT_DOUBLE not requested
This commit is contained in:
parent
d6d8d1dfce
commit
b07ed0113a
1 changed files with 4 additions and 0 deletions
|
|
@ -109,6 +109,10 @@ int APIENTRY glutCreateWindow (const char *title)
|
|||
exit(1);
|
||||
}
|
||||
|
||||
if (!(g_display_mode & GLUT_DOUBLE))
|
||||
glDrawBuffer( GL_FRONT );
|
||||
|
||||
|
||||
XMapWindow( dpy, win );
|
||||
|
||||
#if !USE_MINI_GLX
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue