forked from mirror/openmw-tes3mp
Fix incorrect reading of global map state in some cases when the map size changed (Fixes #1946)
This commit is contained in:
parent
ad318c1f9d
commit
2066097202
1 changed files with 2 additions and 1 deletions
|
@ -326,7 +326,8 @@ namespace MWRender
|
|||
mOverlayTexture->getBuffer()->blit(tex->getBuffer(), srcBox, destBox);
|
||||
|
||||
if (srcBox.left == destBox.left && srcBox.right == destBox.right
|
||||
&& srcBox.top == destBox.top && srcBox.bottom == destBox.bottom)
|
||||
&& srcBox.top == destBox.top && srcBox.bottom == destBox.bottom
|
||||
&& int(image.getWidth()) == mWidth && int(image.getHeight()) == mHeight)
|
||||
mOverlayImage = image;
|
||||
else
|
||||
mOverlayTexture->convertToImage(mOverlayImage);
|
||||
|
|
Loading…
Reference in a new issue