Use frontbuffer if GLUT_DOUBLE not requested

This commit is contained in:
Keith Whitwell 2003-01-18 19:59:27 +00:00
parent d6d8d1dfce
commit b07ed0113a

View file

@ -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