]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture.h
Support BGR and BGRA as texture formats through swizzling
[libs/gl.git] / source / texture.h
index 71192fef06c42416b8a9dadc26f1fe2109626a67..6c0fbf2574b6cb6f8a897e62f0977b8db9486e4f 100644 (file)
@@ -64,7 +64,8 @@ protected:
        {
                NO_SWIZZLE,
                R_TO_LUMINANCE,
-               RG_TO_LUMINANCE_ALPHA
+               RG_TO_LUMINANCE_ALPHA,
+               RGB_TO_BGR
        };
 
        unsigned id;