Commit 85c03734 authored by Jehan's avatar Jehan

libgimpcolor: support CAIRO_FORMAT_A8 in gimp_cairo_surface_get_format()

parent e242ec41
...@@ -164,6 +164,7 @@ gimp_cairo_surface_get_format (cairo_surface_t *surface) ...@@ -164,6 +164,7 @@ gimp_cairo_surface_get_format (cairo_surface_t *surface)
{ {
case CAIRO_FORMAT_RGB24: return babl_format ("cairo-RGB24"); case CAIRO_FORMAT_RGB24: return babl_format ("cairo-RGB24");
case CAIRO_FORMAT_ARGB32: return babl_format ("cairo-ARGB32"); case CAIRO_FORMAT_ARGB32: return babl_format ("cairo-ARGB32");
case CAIRO_FORMAT_A8: return babl_format ("cairo-A8");
default: default:
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment