mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 06:58:34 +00:00
WINTERMUTE: Reinstate rgbaMod comparisons for compare-tickets
This commit is contained in:
parent
ae589c41ff
commit
b6ed5ee816
@ -327,6 +327,7 @@ void BaseRenderOSystem::drawSurface(BaseSurfaceOSystem *owner, const Graphics::S
|
||||
for (it = _lastAddedTicket; it != endIterator; ++it) {
|
||||
compareTicket = *it;
|
||||
if (*(compareTicket) == compare && compareTicket->_isValid) {
|
||||
compareTicket->_transform._rgbaMod = transform._rgbaMod;
|
||||
if (_disableDirtyRects) {
|
||||
drawFromSurface(compareTicket);
|
||||
} else {
|
||||
@ -526,6 +527,7 @@ void BaseRenderOSystem::drawTickets() {
|
||||
// convert from screen-coords to surface-coords.
|
||||
dstClip.translate(-offsetX, -offsetY);
|
||||
|
||||
_colorMod = ticket->_transform._rgbaMod;
|
||||
drawFromSurface(ticket, &pos, &dstClip);
|
||||
_needsFlip = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user