Skip to content
Browse files

fixed bug causing super slow tilemap rendering

  • Loading branch information...
1 parent f97f5d4 commit af2c3f73d6c2f829018a4fb95971a92ff576fcc6 @AdamAtomic committed Apr 30, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 org/flixel/FlxTilemap.as
View
2 org/flixel/FlxTilemap.as
@@ -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)

0 comments on commit af2c3f7

Please sign in to comment.
Something went wrong with that request. Please try again.