Hello,
In my main I use the following code:
sf::Font f;
f.LoadFromFile("font.ttf",12);
sf::String fps_counter;
fps_counter.SetFont(f);
fps_counter.SetSize(12);
And then display is just App.Draw(fps_counter);
When I exit my program, something goes wrong and Windows cries:
"0x09839182 uses memory address 0x00000094, which cannot be read"
It's probably just a misplaced pointer... but then the window pops up several times(with different addresses), which gets annoying
I then tried to search for something wrong with gdb, and it crashed even earlier, whenever I called sf::String::SetText(), leaving an incomprehensible call stack(even with the -d libs and dlls)
Any thoughts?