Sfoglia il codice sorgente

SFML: disable vsync for now

Streetwalrus Einstein 10 anni fa
parent
commit
06b1ed7864
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      platform/sfml/Graphics.cpp

+ 0 - 1
platform/sfml/Graphics.cpp

@@ -12,7 +12,6 @@ sf::RenderTexture buffer;
 void GRAPHICS::init()
 {
     window.create(sf::VideoMode::getDesktopMode(), "WalrusRPG", sf::Style::Fullscreen);
-    window.setVerticalSyncEnabled(true);
     window.setFramerateLimit(60);
     view = sf::View(window.getDefaultView());
     buffer.create(320, 240);