mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 363861. Part 2.3: Disable subpixel AA in gfxASurfaces with alpha channels by default. r=jrmuizel,a=blocking
This commit is contained in:
parent
0156f8d63d
commit
ad251a9b0c
@ -221,6 +221,9 @@ gfxASurface::Init(cairo_surface_t* surface, PRBool existingSurface)
|
||||
mFloatingRefs = 0;
|
||||
} else {
|
||||
mFloatingRefs = 1;
|
||||
if (cairo_surface_get_content(surface) != CAIRO_CONTENT_COLOR) {
|
||||
cairo_surface_set_subpixel_antialiasing(surface, CAIRO_SUBPIXEL_ANTIALIASING_DISABLED);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user