SDL Active window

Hi guys,

Perhaps a daft question, but how can I tell which window is currently active
for drawing to? (SDL 1.3)

Many thanks.–
View this message in context: http://www.nabble.com/SDL-Active-window-tp25095203p25095203.html
Sent from the SDL mailing list archive at Nabble.com.

Hmm, perhaps I’ll rephrase this, wasn’t too clear. Say I’m using OpenGL with
multiple contexts and multiple windows.

How do I know which context is active on which windows?

How do I know which context and/or Window my next opengl command will be
used on?

The path for this seems quite confusing.

Many thanks.

GMScribe wrote:>

Hi guys,

Perhaps a daft question, but how can I tell which window is currently
active for drawing to? (SDL 1.3)

Many thanks.


View this message in context: http://www.nabble.com/SDL-Active-window-tp25095203p25107830.html
Sent from the SDL mailing list archive at Nabble.com.