0 Members and 1 Guest are viewing this topic.
Is it really the GPU, or do you mean "the CPU"?
How can you see the GPU consumption?Can you show us your source code?
#include <SFML/Window.hpp>int main(){ sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window"); bool Running = true; while (Running) { App.Display(); } return 0;}
Well that's because your framerate there will be huge. You never sleep or wait anything so you will be running as fast as the CPU can.
App.SetFramerateLimit(60);
App.EnableVerticalSync(true)
Try usingCode: [Select]App.SetFramerateLimit(60);and,Code: [Select]App.EnableVerticalSync(true)right after your window initialization.