]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture.h
Move swizzling modes to pixelformat.h
[libs/gl.git] / source / core / texture.h
index 639b15f5b711c820e8ff448f6d634078e2040ded..f6436c0acc8f6e51d7d8679710bbaf47ad29b67b 100644 (file)
@@ -70,17 +70,9 @@ public:
        };
 
 protected:
-       enum FormatSwizzle
-       {
-               NO_SWIZZLE,
-               R_TO_LUMINANCE,
-               RG_TO_LUMINANCE_ALPHA,
-               RGB_TO_BGR
-       };
-
        PixelFormat format;
        PixelFormat storage_fmt;
-       FormatSwizzle swizzle;
+       ComponentSwizzle swizzle;
        bool use_srgb_format;
        bool auto_gen_mipmap;