]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/pixelformat.h
Add a swizzle mode for presenting an RGBA texture as RGB
[libs/gl.git] / source / core / pixelformat.h
index b2d1b9cd7948d069233e71cb4722043df6120f83..13bc03a8c059325d7272120f5a486b58e7e5d01e 100644 (file)
@@ -45,7 +45,8 @@ enum ComponentSwizzle
        NO_SWIZZLE,
        R_TO_LUMINANCE,
        RG_TO_LUMINANCE_ALPHA,
-       RGB_TO_BGR
+       RGB_TO_BGR,
+       RGBA_TO_RGB
 };
 
 /**