From df87c768c05ee71a32df06ffe6fdc52c442e214e Mon Sep 17 00:00:00 2001 From: Starmapo Date: Wed, 29 Jan 2025 18:06:44 -0400 Subject: [PATCH 1/2] Remove another deprecated define --- flixel/FlxCamera.hx | 2 -- 1 file changed, 2 deletions(-) diff --git a/flixel/FlxCamera.hx b/flixel/FlxCamera.hx index 3f423694e5..19cfdcff11 100644 --- a/flixel/FlxCamera.hx +++ b/flixel/FlxCamera.hx @@ -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 From 7b0f5edd7accbf219f2a9ab9ed4866802de68b1b Mon Sep 17 00:00:00 2001 From: Starmapo Date: Wed, 29 Jan 2025 18:26:17 -0400 Subject: [PATCH 2/2] Restored mistakenly-removed define check --- flixel/system/macros/FlxDefines.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flixel/system/macros/FlxDefines.hx b/flixel/system/macros/FlxDefines.hx index 1927d1ad87..58d00c41ed 100644 --- a/flixel/system/macros/FlxDefines.hx +++ b/flixel/system/macros/FlxDefines.hx @@ -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);