Skip to content

Commit

Permalink
Merge branch 'remove-legacy-code' of https://github.com/Starmapo/flixel
Browse files Browse the repository at this point in the history
… into remove-legacy-code
  • Loading branch information
Geokureli committed Jan 30, 2025
2 parents 6186c69 + 7b0f5ed commit 47762ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions flixel/FlxCamera.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1676,9 +1676,7 @@ class FlxCamera extends FlxBasic

final targetGraphics = (graphics == null) ? canvas.graphics : graphics;

#if (openfl > "8.7.0")
targetGraphics.overrideBlendMode(null);
#end
targetGraphics.beginFill(Color, FxAlpha);
// i'm drawing rect with these parameters to avoid light lines at the top and left of the camera,
// which could appear while cameras fading
Expand Down
2 changes: 2 additions & 0 deletions flixel/system/macros/FlxDefines.hx
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ class FlxDefines

if (!defined("flash") || defined("flash11_8"))
define(FLX_GAMEINPUT_API);
else if (!defined("openfl_next") && (defined("cpp") || defined("neko")))
define(FLX_JOYSTICK_API);

#if nme
define(FLX_JOYSTICK_API);
Expand Down

0 comments on commit 47762ea

Please sign in to comment.