aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-12-02 08:00:04 +0100
committerEinar Johan Trøan Sømåen2012-12-02 08:00:04 +0100
commitecb88fe3424f19361354f8c84d5113fbef09482f (patch)
treea5dc4ac0fba8bf31588518c294143bfffbdf8bd9 /engines/wintermute
parent9d42b57c3659f247df09a0d5f97de655dc28af73 (diff)
downloadscummvm-rg350-ecb88fe3424f19361354f8c84d5113fbef09482f.tar.gz
scummvm-rg350-ecb88fe3424f19361354f8c84d5113fbef09482f.tar.bz2
scummvm-rg350-ecb88fe3424f19361354f8c84d5113fbef09482f.zip
WINTERMUTE: Fix a warning.
Diffstat (limited to 'engines/wintermute')
-rw-r--r--engines/wintermute/base/gfx/osystem/base_render_osystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
index 67c2b06ce1..c4cd3b813f 100644
--- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
+++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
@@ -438,7 +438,7 @@ void BaseRenderOSystem::drawTickets() {
}
}
if (!_dirtyRect || _dirtyRect->width() == 0 || _dirtyRect->height() == 0) {
- RenderQueueIterator it = _renderQueue.begin();
+ it = _renderQueue.begin();
while (it != _renderQueue.end()) {
RenderTicket *ticket = *it;
ticket->_wantsDraw = false;