SFML community forums

Help => Graphics => Topic started by: Oracular on May 31, 2013, 11:49:28 pm

Title: Untolerably Slow Debug
Post by: Oracular on May 31, 2013, 11:49:28 pm
The framerate on my debug is just absurdly low. I'm porting my XNA game to SFML. In XNA, I had framerates well over 300, and now everything is choppy and I cannot even debug the game on debug because it behaves totally different due to the speed. Why is this, and what can I do to avoid this issue?
Title: Re: Untolerably Slow Debug
Post by: Laurent on June 01, 2013, 09:13:11 am
We don't know what's inside your code, and you don't know what is slowing it down. So we're already kind of stuck. You should really profile your application.
Title: Re: Untolerably Slow Debug
Post by: novemberdobby on June 01, 2013, 12:41:33 pm
Are you inadvertently copying large objects? When I ported my game from C#/XNA to C++/SFML, I had similar issues because I was unfamiliar with C++.