From 50a9fb914d60da942040fefcbfbb3dc2d8730b09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 12 Jun 2015 22:18:16 +0200 Subject: [PATCH] Fixed non-deprecated build. --- src/Magnum/Timeline.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Magnum/Timeline.h b/src/Magnum/Timeline.h index b05d5f986..9db373caa 100644 --- a/src/Magnum/Timeline.h +++ b/src/Magnum/Timeline.h @@ -103,10 +103,14 @@ class MAGNUM_EXPORT Timeline { #endif _previousFrameDuration(0), running(false) {} - /** @brief Minimal frame time (in seconds) */ - Float minimalFrameTime() const { return _minimalFrameTime; } - #ifdef MAGNUM_BUILD_DEPRECATED + /** + * @brief Minimal frame time (in seconds) + * @deprecated Replaced with @ref Platform::Sdl2Application::setSwapInterval() "Platform::*Application::setSwapInterval()" and + * @ref Platform::Sdl2Application::setMinimalLoopPeriod() "Platform::*Application::setMinimalLoopPeriod()". + */ + CORRADE_DEPRECATED("replaced with Platfomr::*Application functionality") Float minimalFrameTime() const { return _minimalFrameTime; } + /** * @brief Set minimal frame time * @return Reference to self (for method chaining)