summaryrefslogtreecommitdiff
path: root/include/video/pixel_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/video/pixel_format.h')
-rw-r--r--include/video/pixel_format.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/video/pixel_format.h b/include/video/pixel_format.h
index c57019cd6ea8..6874754b0474 100644
--- a/include/video/pixel_format.h
+++ b/include/video/pixel_format.h
@@ -20,6 +20,9 @@ struct pixel_format {
};
};
+#define PIXEL_FORMAT_C8 \
+ { 8, true, { .index = {0, 8}, } }
+
#define PIXEL_FORMAT_XRGB1555 \
{ 16, false, { .alpha = {0, 0}, .red = {10, 5}, .green = {5, 5}, .blue = {0, 5} } }