Bug 756606. Fix a bug in EnsureAllocated. r=Bas

This commit is contained in:
Nicholas Cameron 2013-07-23 11:05:49 +12:00
parent 0e08ffc8b2
commit 63b1b6b28c

View File

@ -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;
}