Skip to content

Commit

Permalink
fixed bug causing super slow tilemap rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamAtomic committed Apr 30, 2011
1 parent f97f5d4 commit af2c3f7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions org/flixel/FlxTilemap.as
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,6 @@ package org.flixel
{
_point.x = x - int(camera.scroll.x*scrollFactor.x) + buffer.x; //copied from getScreenXY()
_point.y = y - int(camera.scroll.y*scrollFactor.y) + buffer.y;
_point.x += (_point.x > 0)?0.0000001:-0.0000001;
_point.y += (_point.y > 0)?0.0000001:-0.0000001;
buffer.dirty = (_point.x > 0) || (_point.y > 0) || (_point.x + buffer.width < camera.width) || (_point.y + buffer.height < camera.height);
}
if(buffer.dirty)
Expand Down

0 comments on commit af2c3f7

Please sign in to comment.