mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 964517 - Do not pretend a layer is opaque if it really is transparent. r=roc
This commit is contained in:
parent
f403c5b4c5
commit
94ef4482f9
@ -1217,8 +1217,7 @@ void nsDisplayList::PaintForFrame(nsDisplayListBuilder* aBuilder,
|
||||
if (usingDisplayport &&
|
||||
!(root->GetContentFlags() & Layer::CONTENT_OPAQUE)) {
|
||||
// See bug 693938, attachment 567017
|
||||
NS_WARNING("We don't support transparent content with displayports, force it to be opqaue");
|
||||
root->SetContentFlags(Layer::CONTENT_OPAQUE);
|
||||
NS_WARNING("Transparent content with displayports can be expensive.");
|
||||
}
|
||||
|
||||
layerManager->SetRoot(root);
|
||||
|
Loading…
Reference in New Issue
Block a user