Hi,
my task manager indicates my GPU usage jumps up to 90-98% when I launch my SFML application.
I used the code given in the tutorial:
int main()
{
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
sf::CircleShape shape(100.f);
shape.setFillColor(sf::Color::Green);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.draw(shape);
window.display();
}
return 0;
}
I'm on windows 10, i have a nvidia gtx 1050, i'm on laptop, I'm using codeblocks to compile.
I didn't pay attention to that until very soon, my much more complicated actual projet works fine, but the GPU usage jumps up to 95-97% :x
blacksages