Yep, looks like its pretty minimal (I was able to yank everything and still reproduce it). I'm running 64bit Windows 7, compiling with codeblocks+mingw, SFML v1.6.
It seems to occur most often when you move the mouse as the app starts (perhaps input handling on startup is an issue?). I've gotten it to occur without any input, but I can't be sure, since maybe there were minor mouse movements...
#include <SFML/Window.hpp>
int GFX_WIDTH = 1920/2;
int GFX_HEIGHT = 1080/2;
int GFX_BPP = 32;
bool GFX_FULLSCREEN = true;
int main()
{
sf::Window App(sf::VideoMode(GFX_WIDTH, GFX_HEIGHT, GFX_BPP), "SFML OpenGL", GFX_FULLSCREEN ? sf::Style::Fullscreen : (sf::Style::Resize | sf::Style::Close));
while (App.IsOpened())
{
sf::Event event;
while (App.GetEvent(event))
{
if (event.Type == sf::Event::Closed) {
App.Close();
}
else if ((event.Type == sf::Event::KeyPressed) && (event.Key.Code == sf::Key::Escape)) {
App.Close();
}
}
glClearDepth(1.f);
glClearColor(0.0f, 0.0f, 0.0f, 0.f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
App.Display();
}
return EXIT_SUCCESS;
}
Let me know if there is anything else I can help with...this is quite a lame problem. I really like SFML (I've switched from SDL) and would like to stick with it but I can't see actually distributing the project if it does this :/
Hopefully its something on my end...maybe something to do with 32bit vs 64bit? The only library I'm linking with is fmod, if that of any help. All SFML libraries are linked statically.
Thanks,
-Anton