From d7a497b87b12a7014992a7667934f682d2eb8c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 21 Feb 2012 10:44:05 +0100 Subject: [PATCH] Make Camera::setViewport() virtual. --- src/Camera.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Camera.h b/src/Camera.h index f242a5012..4e4dbac98 100644 --- a/src/Camera.h +++ b/src/Camera.h @@ -111,7 +111,7 @@ class MAGNUM_EXPORT Camera: public Object { * Called when assigning the camera to the scene or when window * size changes. */ - void setViewport(const Math::Vector2& size); + virtual void setViewport(const Math::Vector2& size); /** @copydoc setViewport(const Math::Vector2& size); */ inline void setViewport(GLsizei width, GLsizei height) {