]> git.tdb.fi Git - libs/gl.git/blobdiff - source/windowview.h
Some cleanup for View and WindowView
[libs/gl.git] / source / windowview.h
index 825601f186cd14b2da061c320938f45a30eff2f8..6ba93f88b735e44e30e9182fc8bda1daae30091f 100644 (file)
@@ -20,8 +20,8 @@ public:
 
        Graphics::Window &get_window() { return window; }
        Graphics::GLContext &get_context() { return context; }
-       unsigned get_width() const { return window.get_width(); }
-       unsigned get_height() const { return window.get_height(); }
+       virtual unsigned get_width() const { return window.get_width(); }
+       virtual unsigned get_height() const { return window.get_height(); }
 
        virtual void render();