Skip to content

Commit

Permalink
win32-print: fix transparent images have black background
Browse files Browse the repository at this point in the history
Bug 91835
  • Loading branch information
Rodrigo Rivas Costa authored and Adrian Johnson committed Sep 30, 2015
1 parent 4953622 commit e5d4f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win32/cairo-win32-printing-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -1840,7 +1840,7 @@ cairo_win32_printing_surface_create (HDC hdc)
_cairo_win32_printing_surface_clipper_intersect_clip_path);

surface->win32.format = CAIRO_FORMAT_RGB24;
surface->win32.base.content = CAIRO_CONTENT_COLOR_ALPHA;
surface->content = CAIRO_CONTENT_COLOR_ALPHA;

surface->win32.dc = hdc;

Expand Down

0 comments on commit e5d4f52

Please sign in to comment.