SFML community forums

Help => Graphics => Topic started by: HeinzK on September 07, 2022, 04:22:12 pm

Title: Debug .. frame per seconds ..
Post by: HeinzK on September 07, 2022, 04:22:12 pm
Release: 750 frame per seconds and Debug 11 fps.
If there is a possibility, to abstain the Graphic-Debug?
Title: Re: Debug .. frame per seconds ..
Post by: fallahn on September 07, 2022, 05:34:05 pm
Debug builds will always be slower, and this can be particularly noticeable in Visual Studio. If you're using VS, try going to your project properties, make sure you're switched to the Debug build layout, and then go to C/C++ -> Code Generation and change Basic Runtime Checks to Default. It's worth looking at the documentation (https://docs.microsoft.com/en-us/cpp/build/reference/rtc-run-time-error-checks?view=msvc-170) too, just so you're aware of what the option does which you're changing ;)