diff options
author | Andrea Canciani <ranma42@gmail.com> | 2012-05-07 19:05:05 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2012-05-26 16:05:07 +0200 |
commit | 3e9895e95100ced3a6fcbedcba75e50ca450b4f0 (patch) | |
tree | 078fb1b7e9f9cb6300bcef5a4e31a8563ac388be /test/png.c | |
parent | afcbb7a2c5c8a05d11e054e09c8c4e53b571a435 (diff) | |
download | cairo-3e9895e95100ced3a6fcbedcba75e50ca450b4f0.tar.gz |
png: Implement conversion of CAIRO_FORMAT_RGB30 to string
Fixes
png.c:55: warning: enumeration value ‘CAIRO_FORMAT_RGB30’ not handled
in switch
Diffstat (limited to 'test/png.c')
-rw-r--r-- | test/png.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/png.c b/test/png.c index e90ac668b..3980ddca5 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 "???"; |