SFML community forums
Help => General => Topic started by: myl on June 27, 2013, 05:42:05 pm
-
Hey.
I'm experiencing a black screen issue when my windows machine returns from standby. It is not related to my code, because it also happens with the precompiled SFML win32 spinning troll example.
After the view enters this dead state i get an error message when attempting to load textures:
Failed to create texture, its internal size is too high (180x61, maximum is 0x0).
I tried solving it by spawning a new renderwindow (although i would need a way to detect deadness for this approach do any good), but new renderwindows are just as dead.
setActive on RenderWindow does no good.
Eergh?
-
I have no idea, I have to test this case.
-
Hey Laurent.
I did some further testing on different setups, and it turns out I can only reproduce the problem when sfml is running in a windows virtual machine (hosted by parallels on os x to be specific). Still wondering if there is a way to recover from this state as I have not had any problems with other opengl apps.
Merci!
myl