X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fwindowview.h;h=0c5e1b1d72b796b15a7133b3ad54609956e81367;hb=3e555c51a85b97090ae8c9b16ee425ee5ffe6ef8;hp=825601f186cd14b2da061c320938f45a30eff2f8;hpb=e07b25a160c5d3231282df948017460ac581b4d7;p=libs%2Fgl.git diff --git a/source/windowview.h b/source/windowview.h index 825601f1..0c5e1b1d 100644 --- a/source/windowview.h +++ b/source/windowview.h @@ -20,10 +20,10 @@ 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(); + virtual void render(Renderer &); private: void window_resized(unsigned, unsigned);