]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pixelformat.h
Support BGR and BGRA as texture formats through swizzling
[libs/gl.git] / source / pixelformat.h
index 9dec8234988e30e68d34f5d0a41a33cd225a21a6..96f859cae47ad0b46ad1b5f6b06d4b137057f30e 100644 (file)
@@ -49,6 +49,10 @@ enum PixelFormat
        RGBA32F         = GL_RGBA32F,
        SRGB8           = GL_SRGB8,
        SRGB8_ALPHA8    = GL_SRGB8_ALPHA8,
+       BGR8            = 200000,
+       BGRA8           = 200001,
+       SBGR8           = 200002,
+       SBGR8_ALPHA8    = 200003,
        LUMINANCE8      = GL_LUMINANCE8,
        LUMINANCE8_ALPHA8 = GL_LUMINANCE8_ALPHA8,
        DEPTH_COMPONENT16 = GL_DEPTH_COMPONENT16,