[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame.display.set_mode() and OpenGL



hi,

you need to re-upload textures, and make new *things*... where
*things* == display lists etc.

Mainly this is on windows... but also very rarely on other platforms.

So... you also need to upload textures/display lists again.

cu,



On Fri, Jan 30, 2009 at 7:53 AM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
> Hi,
>
> I'm working on my OpenGL game, and am trying to make the screen resizeable.
> The game runs just fine, but then, when I try to resize it, the screen goes
> dark at the new pygame.display.set_mode() call.  I made sure the proper
> flags are being set as well.  I tried quiting and reiniting the screen with
> the same effect.  Ideas?
>
> Ian