]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture.h
Refactor texture ID generation into a function
[libs/gl.git] / source / core / texture.h
index c4e72031ebb174e372877dfd14972449e80d9178..bca0d409b105d9177ea7a108efc498e25c180769 100644 (file)
@@ -90,6 +90,7 @@ public:
        ~Texture();
 
 protected:
+       void generate_id();
        void set_format(PixelFormat);
        void apply_swizzle();
        void set_parameter_i(GLenum, int) const;