Skip to content

Commit

Permalink
BitmapLogFrontEnd: fix for hxcpp + FLX_NO_DEBUG builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Gama11 committed Apr 29, 2014
1 parent ab08c64 commit b3ebcf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flixel/system/frontEnds/BitmapLogFrontEnd.hx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ class BitmapLogFrontEnd
*/
public function viewCache():Void
{
#if !FLX_NO_DEBUG
clear();
for (cachedGraphic in FlxG.bitmap._cache)
{
add(cachedGraphic.bitmap, cachedGraphic.key);
}
#end
}

@:allow(flixel.FlxG)
Expand Down

0 comments on commit b3ebcf9

Please sign in to comment.