mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
b=367036, the bug that won't die, forgot to reapply this patch when I upgraded cairo (background of images shows as black when printed)
This commit is contained in:
parent
e58d1a99d7
commit
ff653f87d6
@ -476,7 +476,12 @@ _cairo_win32_surface_get_subimage (cairo_win32_surface_t *surface,
|
||||
|
||||
status = CAIRO_INT_STATUS_UNSUPPORTED;
|
||||
|
||||
if ((local->flags & CAIRO_WIN32_SURFACE_CAN_BITBLT) &&
|
||||
/* Check for SURFACE_IS_DISPLAY here, because there are a lot
|
||||
* of printer drivers that lie and say they can BitBlt, but
|
||||
* just spit out black instead.
|
||||
*/
|
||||
if ((local->flags & CAIRO_WIN32_SURFACE_IS_DISPLAY) &&
|
||||
(local->flags & CAIRO_WIN32_SURFACE_CAN_BITBLT) &&
|
||||
BitBlt (local->dc,
|
||||
0, 0,
|
||||
width, height,
|
||||
|
Loading…
Reference in New Issue
Block a user