[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Pygame vs. OpenGL Surfaces
Try calling pygame.display.quit() and then pygame.display.init()
between when you change as well.
On 8/24/07, Ian Mallett <geometrian@xxxxxxxxx> wrote:
> There is the menu, with pygame surfaces, and the game, with OpenGL objects
> and textures. The pygame surfaces work fine, and I see the menu, but when
> the OpenGL surfaces run, I just see a black screen. I call
> pygame.display.set_mode() each time I change, but changing from a pygame
> surface to an OpenGL surface leaves the screen blank.
>