Browse Source

Do not use the mobile framerate limit on Emscripten as frame limiting to 60fps will be choppy. Rather rely on vsync.

Lasse Öörni 11 years ago
parent
commit
aa2f27bc73
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Urho3D/Engine/Engine.cpp

+ 1 - 1
Source/Urho3D/Engine/Engine.cpp

@@ -83,7 +83,7 @@ Engine::Engine(Context* context) :
     timeStep_(0.0f),
     timeStep_(0.0f),
     timeStepSmoothing_(2),
     timeStepSmoothing_(2),
     minFps_(10),
     minFps_(10),
-    #if defined(ANDROID) || defined(IOS) || defined(RPI) || defined(EMSCRIPTEN)
+    #if defined(ANDROID) || defined(IOS) || defined(RPI)
     maxFps_(60),
     maxFps_(60),
     maxInactiveFps_(10),
     maxInactiveFps_(10),
     pauseMinimized_(true),
     pauseMinimized_(true),