From 05547cbd5f5dae5c07b0f935f821da3b3f3a18ae Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 9 Apr 2021 21:24:58 +0200 Subject: [PATCH] Disable Software drivers on mobile platforms literally dead code --- include/IrrCompileConfig.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/IrrCompileConfig.h b/include/IrrCompileConfig.h index 0c7c5af..0fac275 100644 --- a/include/IrrCompileConfig.h +++ b/include/IrrCompileConfig.h @@ -91,6 +91,8 @@ #define _IRR_IOS_PLATFORM_ #define _IRR_COMPILE_WITH_IOS_DEVICE_ #define NO_IRR_COMPILE_WITH_OPENGL_ +#define NO_IRR_COMPILE_WITH_SOFTWARE_ +#define NO_IRR_COMPILE_WITH_BURNINGSVIDEO_ // The application state events and following methods: IrrlichtDevice::isWindowActive, IrrlichtDevice::isWindowFocused, // IrrlichtDevice::isWindowMinimized works out of box only if you'll use built-in CIrrDelegateiOS, // so _IRR_COMPILE_WITH_IOS_BUILTIN_MAIN_ must be enabled in this case. If you need a custom UIApplicationDelegate @@ -125,6 +127,8 @@ #define _IRR_COMPILE_WITH_ANDROID_DEVICE_ #define _IRR_COMPILE_ANDROID_ASSET_READER_ #define NO_IRR_COMPILE_WITH_OPENGL_ +#define NO_IRR_COMPILE_WITH_SOFTWARE_ +#define NO_IRR_COMPILE_WITH_BURNINGSVIDEO_ #endif #if defined(__SVR4) && defined(__sun)