From 762b6f2fbb127117ee6815f912f27900cc31fa8c Mon Sep 17 00:00:00 2001 From: Hugh Sanderson Date: Sun, 2 Jun 2024 14:00:08 +0800 Subject: [PATCH] Widen detection of ANDROID_SIM --- project/src/opengl/OGLTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/opengl/OGLTexture.cpp b/project/src/opengl/OGLTexture.cpp index d017e3854..09e9de083 100644 --- a/project/src/opengl/OGLTexture.cpp +++ b/project/src/opengl/OGLTexture.cpp @@ -2,7 +2,7 @@ #define SWAP_RB 0 -#if (defined(ANDROID_X86) || ( defined(ANDROID) && defined(HXCPP_M64) && !defined(HXCPP_ARM64))) +#if ( defined(HX_ANDROID) && !( defined(HXCPP_ARM64) || defined(HXCPP_ARMV7) || defined(__arm__) || defined(__aarch64__) ) ) #define ANDROID_SIM #endif