X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fwindowview.h;h=6ba93f88b735e44e30e9182fc8bda1daae30091f;hp=825601f186cd14b2da061c320938f45a30eff2f8;hb=e598e9d8dacad73b7ee1688e2be738e94b07b9fa;hpb=26deb4ad8f59c0ec7b5d128e5e68363865b2d237 diff --git a/source/windowview.h b/source/windowview.h index 825601f1..6ba93f88 100644 --- a/source/windowview.h +++ b/source/windowview.h @@ -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();