]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/windowview.h
Restructure system framebuffer and make WindowView own it
[libs/gl.git] / source / render / windowview.h
index 031cd49d142534049e96be8dd137fa27c83730ed..93769f19217ed35f3b3fbcfd277e7cf6cccd1363 100644 (file)
@@ -4,7 +4,7 @@
 #include <sigc++/trackable.h>
 #include <msp/graphics/window.h>
 #include "device.h"
-#include "view.h"
+#include "windowview_backend.h"
 
 namespace Msp {
 namespace GL {
@@ -17,7 +17,7 @@ After rendering, buffers are swapped to show the result in the window.
 The aspect ratio of the view's Camera is automatically updated to match that of
 the window.
 */
-class WindowView: public View, public sigc::trackable
+class WindowView: public WindowViewBackend, public sigc::trackable
 {
 private:
        Graphics::Window &window;
@@ -35,8 +35,6 @@ public:
 
 private:
        void window_resized(unsigned, unsigned);
-
-       virtual const Framebuffer &get_target() const;
 };
 
 } // namespace GL