X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frender%2Fslot.h;h=a675c64fb879a8f160e601dd5ccf1542aec0d313;hb=016f0f0dd51511f98d0bf398d99199d7dec1543c;hp=9129869ed8fcc46ff9992995d34d78cd8907243c;hpb=233dff2a6c552e08da832496aecd88ef4f8948f1;p=libs%2Fgl.git diff --git a/source/render/slot.h b/source/render/slot.h index 9129869e..a675c64f 100644 --- a/source/render/slot.h +++ b/source/render/slot.h @@ -13,13 +13,11 @@ needs to be switched without affecting the rest. class Slot: public Renderable { private: - Renderable *renderable; + Renderable *content = 0; public: - Slot(); - void set(Renderable *); - Renderable *get() const { return renderable; } + Renderable *get() const { return content; } virtual const Matrix *get_matrix() const; virtual const Geometry::BoundingSphere *get_bounding_sphere() const;