]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/texture_backend.h
Use set_manager instead of passing the manager to the constructor
[libs/gl.git] / source / backends / opengl / texture_backend.h
index f272d3d87b22cdf0f2fff876b05b40dc6d493a03..815778203bcaba66f4e13de3f81a2b08aa8450a0 100644 (file)
@@ -19,10 +19,10 @@ protected:
        static int swizzle_orders[];
        static OpenGLTexture *scratch_binding;
 
-       OpenGLTexture(unsigned, bool);
+       OpenGLTexture(unsigned);
        ~OpenGLTexture();
 
-       void generate_id();
+       void create();
        void require_swizzle();
        void apply_swizzle();
        void set_parameter_i(unsigned, int) const;