Hi Laurent and everybody,
I'm quite new to SFML and I like it very much so far, but I got stuck soon because of performance, my plan is doing most of the rendering stuff in plain OpenGL (except fonts, probably the whole GUI).
Everything works quite ok (rendering 2048 untextured cubes at 1100+ FPS), until i add any simple event handing like:
...initialize and go to main loop...
sf::Event Event;
App.GetEvent(Event);
const sf::Input& Input = App.GetInput();
bool EscapeKeyDown = Input.IsKeyDown(sf::Key::Escape);
if (EscapeKeyDown)
{
App.Close();
}
...render some opengl stuff...
... which drops the FPS below 50!!! Same effect if i compile your OpenGL demo, the cube stops rotating if I move the mouse heavily (but the precompiled version works fine).
I have the most current libs and am using using Code::Blocks/MingW, most current versions on WinXP SP2. Didn't find similar problems in the forums. Is there an known error, or better, a solution for this?
Any suggestions appreciated!
wkr
sit