Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - soconne

Pages: [1]
Window / Multiple windows?
« on: October 15, 2007, 06:48:51 am »
How do you handle creating and running events for multiple windows?  Would your main loop simply have:

while(...) {
    while(window1.GetEvent(Event)) { }
    while(window2.GetEvent(Event)) { }



Is this correct?  How are different rendering contexts handled?  Is a different context created for each window?  Also, how would you handle window creation if you wanted the 2 windows to SHARE a context?

Pages: [1]