mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 951186 - Propagate the current compositor in ContentHostBase::UseTextureHost. r=nical
This commit is contained in:
parent
aff7a5da26
commit
8ef9116036
@ -242,9 +242,11 @@ ContentHostBase::UseTextureHost(TextureHost* aTexture)
|
||||
if (aTexture->GetFlags() & TEXTURE_ON_WHITE) {
|
||||
mTextureHost = nullptr;
|
||||
mTextureHostOnWhite = aTexture;
|
||||
mTextureHostOnWhite->SetCompositor(GetCompositor());
|
||||
} else {
|
||||
mTextureHostOnWhite = nullptr;
|
||||
mTextureHost = aTexture;
|
||||
mTextureHost->SetCompositor(GetCompositor());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user