]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/root.h
Defer widget rebuild to just before they are rendered
[libs/gltk.git] / source / root.h
index 73ca276ed968a0e5241b5053c67ae89c96de39e6..effa55628262b484b39ab97980721af41b751498 100644 (file)
@@ -64,7 +64,8 @@ public:
        virtual unsigned get_height() const { return geom.h; }
 
        void tick();
-       void render() const;
+       void render();
+       virtual void setup_frame(GL::Renderer &);
        virtual void render(GL::Renderer &, const GL::Tag & = GL::Tag()) const;
 
 private: