X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fview.h;h=f7f47fc7b48fd7d37f349f73823fee017a3d5ad5;hb=5c5d094255ae5b0a07f99392a5a099ad9c8e8e38;hp=bd39e8ff7f11c6835b07a62a233b858b60472735;hpb=7791ca3eac17e355d1de508b1730dc854ed7712d;p=libs%2Fgl.git diff --git a/source/view.h b/source/view.h index bd39e8ff..f7f47fc7 100644 --- a/source/view.h +++ b/source/view.h @@ -23,7 +23,7 @@ private: Graphics::GLContext &context; Framebuffer ⌖ Camera *camera; - const Renderable *content; + Renderable *content; std::list synced_cameras; public: @@ -36,7 +36,7 @@ public: float get_aspect() const { return static_cast(get_width())/get_height(); } void set_camera(Camera *); - void set_content(const Renderable *); + void set_content(Renderable *); // Deprecated void synchronize_camera_aspect(Camera &);