summaryrefslogtreecommitdiff
path: root/src/cairo-xml-surface.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-03-28 19:38:24 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-03-30 18:31:34 +0100
commit7ab350378e8597e9872dbe390b8454d0a63bff28 (patch)
tree8f5fb295fa613d73abd9365a836c36cc19b1400f /src/cairo-xml-surface.c
parentd901692a5550c51fd3eefd307609fb800ef02a95 (diff)
Silence enumeration warnings following addition of RGB16_565
Diffstat (limited to 'src/cairo-xml-surface.c')
-rw-r--r--src/cairo-xml-surface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-xml-surface.c b/src/cairo-xml-surface.c
index 407aa969..7c0c9193 100644
--- a/src/cairo-xml-surface.c
+++ b/src/cairo-xml-surface.c
@@ -206,6 +206,7 @@ _format_to_string (cairo_format_t format)
switch (format) {
case CAIRO_FORMAT_ARGB32: return "ARGB32";
case CAIRO_FORMAT_RGB24: return "RGB24";
+ case CAIRO_FORMAT_RGB16_565: return "RGB16_565";
case CAIRO_FORMAT_A8: return "A8";
case CAIRO_FORMAT_A1: return "A1";
case CAIRO_FORMAT_INVALID: return "INVALID";