mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 941095 - Restore subpixelaa on HIDPI. r=backout
This commit is contained in:
parent
77f1e6a5a1
commit
b60a7290fe
@ -1865,8 +1865,8 @@ ContainerState::PopThebesLayerData()
|
||||
|
||||
uint32_t flags = 0;
|
||||
nsIWidget* widget = mContainerReferenceFrame->PresContext()->GetRootWidget();
|
||||
// Disable subpixelAA on hidpi
|
||||
bool hidpi = widget && widget->GetDefaultScale().scale >= 2;
|
||||
// See bug 941095. Not quite ready to disable this.
|
||||
bool hidpi = false && widget && widget->GetDefaultScale().scale >= 2;
|
||||
if (hidpi) {
|
||||
flags |= Layer::CONTENT_DISABLE_SUBPIXEL_AA;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user