I create an SDL window and use Ogres parentHandle to create an OGRE window.
All works fine.
However, after ~5 seconds, the image turns gray. All the color drains away. A white output will turn to gray as well.
Any Idea what is happening ?
Thanks for Reading
OGRE + SDL, image turns gray
-
- OGRE Expert User
- Posts: 1119
- Joined: Sat Jan 01, 2011 7:57 pm
- x 220
Re: OGRE + SDL, image turns gray
You need to poll SDL events, else the window events will just "pile up" in the queue and after a while the window manager will determine that your application has stopped responding to user input.