mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1062475 - [Camera] Camera button highlight appears as a square. r=sotaro
This commit is contained in:
parent
0d6558083e
commit
ec4f90d64c
@ -191,8 +191,9 @@ ImageClientSingle::UpdateImageInternal(ImageContainer* aContainer,
|
||||
if (image->AsSharedImage() && image->AsSharedImage()->GetTextureClient(this)) {
|
||||
// fast path: no need to allocate and/or copy image data
|
||||
RefPtr<TextureClient> texture = image->AsSharedImage()->GetTextureClient(this);
|
||||
|
||||
autoRemoveTexture.mTexture = mFrontBuffer;
|
||||
if (texture != mFrontBuffer) {
|
||||
autoRemoveTexture.mTexture = mFrontBuffer;
|
||||
}
|
||||
mFrontBuffer = texture;
|
||||
if (!AddTextureClient(texture)) {
|
||||
mFrontBuffer = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user