]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture.h
Remove some obsolete things
[libs/gl.git] / source / core / texture.h
index 58e22d358a6a82f2f321b3ba553b9a5b2ce00fc6..3057ef36ed0ae57c84c133c836db12c35319e556 100644 (file)
@@ -49,11 +49,6 @@ protected:
                void mipmap_levels(unsigned);
        };
 
-       enum ParameterMask
-       {
-               FORMAT_SWIZZLE = 512
-       };
-
        enum FormatSwizzle
        {
                NO_SWIZZLE,
@@ -86,6 +81,8 @@ protected:
        void set_parameter_i(GLenum, int) const;
 
 public:
+       PixelFormat get_format() const { return format; }
+
        static bool can_generate_mipmap();
 
        void generate_mipmap();