Hey,
I am just starting to learn C++ and SFML, so if there are any really stupid mistakes in my code, please don't hate me
I am trying to draw a fairly large (960x976) sprite to my screen, but when I do, it slows down to less than 1 FPS. I am also drawing 10,000 16x16 sprites to my screen, and this runs at 60 FPS no problem. I have an HD 5770 with 1gb GDDR5, so that isn't the issue I don't think.
Any help is much appriciated
if (sf::Keyboard::isKeyPressed(sf::Keyboard::LAlt) && EditorMode == 1) {
TileSetSprite.setPosition(sf::Vector2f(GetLeftPixel(0), GetTopPixel(0)));
Window.draw(TileSetSprite);
}