yeah saw that right after I posted the code and fixed it.
Old and noncommented code sucks
Okay, now it's pretty fast. Still 0.2 seconds per load, but that's okay, i guess.
But another problem appears right now, the App.Draw() kills the Framerate.
App.Draw(vUnits[i].s_Unit);
vUnits is a vector of instances of the unitclass, and s_Unit is a sf::Sprite.
Takes 0.3 seconds per call, so I got a Framerate around 2.
Appeared just a few minutes ago, didn't change something.
I have no idea where the problem is.
Edit: Performance Analyzer says, that nvoglv32.dll takes 82% of the samplings.
Edit2: Okay, seems to be done. Just needed to update nVidia driver.