From 18bbd238867e304452944599f1781045a602bf16 Mon Sep 17 00:00:00 2001 From: Jan Haller Date: Sun, 6 Apr 2014 17:14:24 +0200 Subject: [PATCH] Window::create() now also resets framerate limit Fixes #371 --- src/SFML/Window/Window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SFML/Window/Window.cpp b/src/SFML/Window/Window.cpp index a2f71c755..6fd7cb6b3 100644 --- a/src/SFML/Window/Window.cpp +++ b/src/SFML/Window/Window.cpp @@ -392,6 +392,7 @@ void Window::initialize() setMouseCursorVisible(true); setVerticalSyncEnabled(false); setKeyRepeatEnabled(true); + setFramerateLimit(0); // Get and cache the initial size of the window m_size = m_impl->getSize();