TINYGL: Fixed a bug caused by wrong branch exclusion

This commit is contained in:
Stefano Musumeci 2014-08-03 22:17:02 +02:00
parent 12f54643f7
commit d2450c6de0

View File

@ -518,7 +518,8 @@ const Common::Rect BlittingDrawCall::getDirtyRegion() const {
} else {
tglGetBlitImageSize(_image, blitWidth, blitHeight);
}
} else if (blitHeight == 0) {
}
if (blitHeight == 0) {
if (_transform._sourceRectangle.height() != 0) {
blitHeight = _transform._sourceRectangle.height();
} else {