1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-23 20:53:21 +02:00

sch2fig/cairo.c (cr_init): use CAIRO_FORMAT_RGB24 instead of CAIRO_FORMAT_ARGB32

This commit is contained in:
Werner Almesberger 2016-07-31 14:04:39 -03:00
parent 7615675485
commit b3ffcab90c

View File

@ -205,7 +205,7 @@ void *cr_init(const char *template, int n_vars, const char **vars)
struct cairo_ctx *cc;
cc = alloc_type(struct cairo_ctx);
cc->s = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 2000, 1414);
cc->s = cairo_image_surface_create(CAIRO_FORMAT_RGB24, 2000, 1414);
cc->cr = cairo_create(cc->s);
set_color(cc->cr, COLOR_WHITE);