diff options
author | Willem Jan Palenstijn | 2013-08-24 12:38:32 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-09-26 02:17:28 +0200 |
commit | 4aa4c427da5f949578fcdfe6b913c9b6864379a4 (patch) | |
tree | 3c6e259790da58a7b2e22c5e45134f3a7cf8b102 /engines/wintermute/base/gfx/osystem | |
parent | 544e4a2f49630cecbf06fe5b1e11bdbab1bdb281 (diff) | |
download | scummvm-rg350-4aa4c427da5f949578fcdfe6b913c9b6864379a4.tar.gz scummvm-rg350-4aa4c427da5f949578fcdfe6b913c9b6864379a4.tar.bz2 scummvm-rg350-4aa4c427da5f949578fcdfe6b913c9b6864379a4.zip |
WINTERMUTE: Remove unnecessary loop
Diffstat (limited to 'engines/wintermute/base/gfx/osystem')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_render_osystem.cpp | 6 |
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; } |