[cairo] [PATCH 1/3] quartz: Silence warning
Andrea Canciani
ranma42 at gmail.com
Thu May 17 13:33:42 PDT 2012
cairo-quartz-surface.c:177: warning: enumeration value
'CAIRO_FORMAT_RGB30' not handled in switch
---
src/cairo-quartz-surface.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c
index 422ef06..832e9fc 100644
--- a/src/cairo-quartz-surface.c
+++ b/src/cairo-quartz-surface.c
@@ -203,8 +203,9 @@ CairoQuartzCreateCGImage (cairo_format_t format,
break;
#endif
- case CAIRO_FORMAT_RGB16_565:
- case CAIRO_FORMAT_INVALID:
+ case CAIRO_FORMAT_RGB30:
+ case CAIRO_FORMAT_RGB16_565:
+ case CAIRO_FORMAT_INVALID:
default:
return NULL;
}
--
1.7.7.5 (Apple Git-26)
More information about the cairo
mailing list