[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Passing GL_DOUBLEBUFFER in display.set_mode() causes title bar andframe to disappear
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.)