From: Ilyes Gouta <[email protected]>
Signed-off-by: Ilyes Gouta <[email protected]>
---
include/directfb.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/directfb.h b/include/directfb.h
index 09f3031..5affc93 100644
--- a/include/directfb.h
+++ b/include/directfb.h
@@ -1365,10 +1365,13 @@ typedef enum {
/* 16 bit LUT (1 byte alpha and 8 bit color lookup from palette) */
DSPF_ALUT8 = DFB_SURFACE_PIXELFORMAT( 40, 8, 8, 1, 0, 2, 0, 0, 0, 1,
0 ),
+ /* 24 bit RGB (3 byte, blue 8@16, green 8@8, red 8@0) */
+ DSPF_BGR24 = DFB_SURFACE_PIXELFORMAT( 41, 24, 0, 0, 0, 3, 0, 0, 0, 0,
0 ),
+
} DFBSurfacePixelFormat;
/* Number of pixelformats defined */
-#define DFB_NUM_PIXELFORMATS 41
+#define DFB_NUM_PIXELFORMATS 42
/* These macros extract information about the pixel format. */
#define DFB_PIXELFORMAT_INDEX(fmt) (((fmt) & 0x0000007F) )
--
1.7.9.5
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev