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.


Messages - dooz

Pages: [1]
1
Window / Multiple windows and order of polling message queues
« on: December 29, 2013, 01:29:52 am »
Hey,

I'm seeing something a bit weird in my application. I create 2 windows, and in my "main loop", I poll/process the events queues from both windows, but I noticed that if I don't poll the event queues in the same order as the windows were created, then I get rendering errors (on one window, nothing renders, on on the other window, which just displays a text, the font is messed up).

Even weirder is that if I set a breakpoint in the debugger before the first even queue is polled, then everything works as expected.

I'm running on OSX (and pretty sure the issue wasn't present on Windows, as I started developing on Windows, and first noticed this when I had gotten everything compiling/loading under OSX).

Has anyone else seen this? (The workaround is simple, I just want to know if this is a requirement, as I couldn't find anything relevant in the documentation).

Thanks,
  Magnus

Pages: [1]
anything