]> git.tdb.fi Git - libs/gl.git/blobdiff - source/windowview.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / windowview.h
index 825601f186cd14b2da061c320938f45a30eff2f8..8b6f1431d7a9df8d068a4c4975500445179797f0 100644 (file)
@@ -20,10 +20,11 @@ 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();
+       using View::render;
+       virtual void render(Renderer &);
 
 private:
        void window_resized(unsigned, unsigned);