]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/renderer.h
Remove some deprecated stuff that's getting in the way
[libs/gl.git] / source / render / renderer.h
index 50254cdf1de09824cb50f9bd37a9f85436a41606..b5cbe5bcab7a32b1182f9f2aa90ca6f88c93cb68 100644 (file)
@@ -21,7 +21,6 @@ class Program;
 class Renderable;
 class Sampler;
 class Texture;
-class Texturing;
 class VertexSetup;
 class WindingTest;
 
@@ -106,7 +105,6 @@ private:
                SHADER_DATA = 16
        };
 
-       const Camera *default_camera;
        unsigned char changed;
        std::vector<State> state_stack;
        State *state;
@@ -117,10 +115,6 @@ private:
 
 public:
        Renderer();
-       DEPRECATED Renderer(const Camera *);
-private:
-       void init();
-public:
        ~Renderer();
 
        /** Sets the camera to render from.  The model matrix is reset to identity. */
@@ -139,15 +133,8 @@ public:
 
        void set_texture(Tag, const Texture *, const Sampler * = 0);
 private:
-       void set_texture(Tag, int, const Texture *, const Sampler *);
        void flush_textures();
 public:
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
-       DEPRECATED void set_texture(const Texture *, const Sampler * = 0);
-       DEPRECATED void set_texturing(const Texturing *);
-       DEPRECATED unsigned allocate_effect_texunit();
-#pragma GCC diagnostic pop
        DEPRECATED void set_material(const Material *);
 
        DEPRECATED void set_lighting(const Lighting *);