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) {