Skip to content

Commit

Permalink
put point
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli committed Apr 9, 2024
1 parent 0d3b597 commit 695ba30
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flixel/addons/display/FlxBackdrop.hx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ class FlxBackdrop extends FlxSprite
_matrix.translate(-origin.x, -origin.y);

// The distance between repeated sprites, in screen space
var tileSize = FlxPoint.get(frame.frame.width, frame.frame.height);
final tileSize = FlxPoint.get(frame.frame.width, frame.frame.height);

if (drawDirect)
{
Expand Down Expand Up @@ -366,6 +366,8 @@ class FlxBackdrop extends FlxSprite
}
}

tileSize.put();

if (FlxG.renderBlit)
camera.buffer.unlock();
}
Expand Down

0 comments on commit 695ba30

Please sign in to comment.