Skip to content

Commit

Permalink
fix(blur): rgb24 is properly handled
Browse files Browse the repository at this point in the history
  • Loading branch information
jtheoof committed Feb 15, 2021
1 parent 6bfb367 commit c04ed63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ static cairo_surface_t *blur_surface(cairo_surface_t *surface, double x,
switch (src_format) {
case CAIRO_FORMAT_A1:
case CAIRO_FORMAT_A8:
case CAIRO_FORMAT_RGB24:
default:
g_warning("source surface format: %d is not supported", src_format);
return NULL;
case CAIRO_FORMAT_RGB24:
case CAIRO_FORMAT_ARGB32:
break;
}
Expand Down

0 comments on commit c04ed63

Please sign in to comment.