aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/gfx
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2013-08-24 12:38:32 +0200
committerWillem Jan Palenstijn2013-09-26 02:17:28 +0200
commit4aa4c427da5f949578fcdfe6b913c9b6864379a4 (patch)
tree3c6e259790da58a7b2e22c5e45134f3a7cf8b102 /engines/wintermute/base/gfx
parent544e4a2f49630cecbf06fe5b1e11bdbab1bdb281 (diff)
downloadscummvm-rg350-4aa4c427da5f949578fcdfe6b913c9b6864379a4.tar.gz
scummvm-rg350-4aa4c427da5f949578fcdfe6b913c9b6864379a4.tar.bz2
scummvm-rg350-4aa4c427da5f949578fcdfe6b913c9b6864379a4.zip
WINTERMUTE: Remove unnecessary loop
Diffstat (limited to 'engines/wintermute/base/gfx')
-rw-r--r--engines/wintermute/base/gfx/osystem/base_render_osystem.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
index afb2cd6978..ce746d326e 100644
--- a/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
+++ b/engines/wintermute/base/gfx/osystem/base_render_osystem.cpp
@@ -392,12 +392,6 @@ void BaseRenderOSystem::drawFromTicket(RenderTicket *renderTicket) {
_renderQueue.insert(pos, renderTicket);
--_lastFrameIter;
assert(*_lastFrameIter == renderTicket);
- // Increment the following tickets, so they still are in line
- RenderQueueIterator it;
- for (it = pos; it != _renderQueue.end(); ++it) {
- assert((*it)->_wantsDraw == false);
- (*it)->_wantsDraw = false;
- }
addDirtyRect(renderTicket->_dstRect);
_lastAddedTicket = pos;
}