]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderer.h
Deprecate Renderer::escape() and replace it with end()
[libs/gl.git] / source / renderer.h
index ccb23a22a709ff1f864e6179435c9ead36bb5db8..5d8f686e35806a419e4a46167fd75161666ed725 100644 (file)
@@ -140,9 +140,13 @@ public:
 
        /** Prepares for temporarily bypassing the Renderer by synchronizing the
        current state with GL.  No additional call is necessary to resume using the
-       Renderer. */
+       Renderer.  DEPRECATED. */
        void escape();
 
+       /** Ends rendering, unbinding all objects and resetting state.  There must
+       be no unpopped state in the stack. */
+       void end();
+
        void exclude(const Renderable &);
        void include(const Renderable &);