[PATCH 1/3] png: Implement conversion of CAIRO_FORMAT_RGB30 to string
Andrea Canciani <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
Fixes
png.c:55: warning: enumeration value ‘CAIRO_FORMAT_RGB30’ not handled
in switch
---
test/png.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/test/png.c b/test/png.c
index e90ac66..3980ddc 100644
--- a/test/png.c
+++ b/test/png.c
@@ -57,6 +57,7 @@ format_to_string (cairo_format_t format)
case CAIRO_FORMAT_A8: return "a8";
case CAIRO_FORMAT_RGB16_565: return "rgb16";
case CAIRO_FORMAT_RGB24: return "rgb24";
+ case CAIRO_FORMAT_RGB30: return "rgb30";
case CAIRO_FORMAT_ARGB32: return "argb32";
case CAIRO_FORMAT_INVALID:
default: return "???";
--
1.7.7.5 (Apple Git-26)
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo