Fixed Window::SetFramerateLimit

This commit is contained in:
Laurent Gomila 2012-01-31 07:53:02 +01:00
parent feae26e15b
commit 84d75ed487
2 changed files with 15 additions and 12 deletions

View file

@ -462,7 +462,7 @@ private :
priv::WindowImpl* myImpl; ///< Platform-specific implementation of the window
priv::GlContext* myContext; ///< Platform-specific implementation of the OpenGL context
Clock myClock; ///< Clock for measuring the elapsed time between frames
unsigned int myFramerateLimit; ///< Current framerate limit
Time myFrameTimeLimit; ///< Current framerate limit
};
} // namespace sf