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

Re: [pygame] Pygame for SDL 2, and how it may look.



Lenard Lindstrom wrote:
I was certain I had read about restrictions regarding a window's surface and a renderer. But I can't find anything in the SDL API docs.

I don't know about SDL, but as far as OpenGL goes, usually
the way it works is that a context can only be bound to one
window (or part of a window) at a time, but it can be bound
to different windows at different times, and can be bound
to other things (textures, offscreen drawing areas, etc.)

All that stuff is platform-dependent, though -- there's
nothing in the OpenGL spec about it.

--
Greg