Browse Source

Make Camera::setViewport() virtual.

pull/279/head
Vladimír Vondruš 14 years ago
parent
commit
d7a497b87b
  1. 2
      src/Camera.h

2
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<GLsizei>& size);
virtual void setViewport(const Math::Vector2<GLsizei>& size);
/** @copydoc setViewport(const Math::Vector2<GLsizei>& size); */
inline void setViewport(GLsizei width, GLsizei height) {

Loading…
Cancel
Save