mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 03:10:22 +00:00
TINYGL: Fixed line breaks.
This commit is contained in:
parent
974f47fa42
commit
5bd0a864f5
@ -163,15 +163,17 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
if (dstX + width > c->_scissorRect.right)
|
||||
if (dstX + width > c->_scissorRect.right) {
|
||||
clampWidth = c->_scissorRect.right - dstX;
|
||||
else
|
||||
} else {
|
||||
clampWidth = width;
|
||||
}
|
||||
|
||||
if (dstY + height > c->_scissorRect.bottom)
|
||||
if (dstY + height > c->_scissorRect.bottom) {
|
||||
clampHeight = c->_scissorRect.bottom - dstY;
|
||||
else
|
||||
} else {
|
||||
clampHeight = height;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user