]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderer.h
Require texture data to be uploaded in a format matching the storage
[libs/gl.git] / source / renderer.h
index dd732bd8d491150375c929ea065c225b654f6ff0..a1217c77833216266e51a014c4984e0f4a056a59 100644 (file)
@@ -102,16 +102,13 @@ private:
        std::set<const Renderable *> excluded;
 
 public:
-       Renderer(const Camera *);
+       Renderer();
+       DEPRECATED Renderer(const Camera *);
+private:
+       void init();
+public:
        ~Renderer();
 
-       /** Resets all internal state and restarts rendering.  There must be no
-       unpopped state in the stack.  It is permissible to call begin() multiple
-       times without an intervening end().
-
-       Deprecated; use end() and set_camera() instead.*/
-       void begin(const Camera *);
-
        /** Sets the camera to render from.  The modelview matrix is reset to the
        camera's view matrix. */
        void set_camera(const Camera &);