[PyOpenGL-Users] Passing GL_DOUBLEBUFFER in display.set_mode() causes title bar and frame to disapp
Brought to you by:
mcfletch
From: Andy Sy <an...@ne...> - 2003-10-11 09:53:52
|
When using Pygame 1.5.6 with PyOpenGL-Minimal 2.0.1.04 (GeForce 4 Ti4200/Detonator 45.23/Windows XP SP1), I get the following behaviour: Passing GL_DOUBLEBUFFER in display.set_mode() causes the title bar and frame to disappear. This is not the behaviour in a C SDL app. Also, the DOUBLEBUF flag must be passed if doing OpenGL, otherwise display flickers badly... and again in a C SDL app, there is no such requirement. Note that I'm using pygame.display.flip() to update the frame. (CC'ed this to the PyOpenGL-users list just in case someone wants to confirm if this is a problem with the version of PyOpenGL I'm using.) |