mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 756606. Fix a bug in EnsureAllocated. r=Bas
This commit is contained in:
parent
0e08ffc8b2
commit
63b1b6b28c
@ -88,7 +88,7 @@ DeprecatedTextureClientD3D11::EnsureAllocated(gfx::IntSize aSize,
|
||||
if (mTexture) {
|
||||
mTexture->GetDesc(&desc);
|
||||
|
||||
if (desc.Width == aSize.width || desc.Height == aSize.height) {
|
||||
if (desc.Width == aSize.width && desc.Height == aSize.height) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user