浏览代码

SFML: disable vsync for now

Streetwalrus Einstein 10 年之前
父节点
当前提交
06b1ed7864
共有 1 个文件被更改,包括 0 次插入1 次删除
  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);