Hello guys,
Is there any known issue about window flickering with sfml 2?
Im doing the rendering the usual way, but i get a empty frame and then a normal frame, and so on. So, as frame yes, frame no, the screen is just black, i wonder what is happening!
Seems like a issue with double buffering, where one of the buffers is locked for writing..
I did a system("pause") before Window->Display() to be sure this is exactly whats is happening.
I have some other code in the middle of the rendering, that uses raw OpenGL, and i use Restore/Save States for that, but there seems to be something about this code that makes everything work normal, maybe some gl state.. More specificly, i use libRocket, and if there is a context to draw in the renderer, everything works normal, otherwise, the problem occurs.
Thanks for the help