From 341cdbfe0dbf35dd85d5710d82f9d2f81e36fa61 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 27 Apr 2021 09:25:58 +0200 Subject: [PATCH] Enable ogles2 on mobile platforms by default It wasn't meant to be disabled. --- include/IrrCompileConfig.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/IrrCompileConfig.h b/include/IrrCompileConfig.h index 0fac275..6a1f5d4 100644 --- a/include/IrrCompileConfig.h +++ b/include/IrrCompileConfig.h @@ -269,7 +269,11 @@ Depending on platform you may have to enable _IRR_OGLES1_USE_KHRONOS_API_HEADERS //! Define _IRR_COMPILE_WITH_OGLES2_ to compile the Irrlicht engine with OpenGL ES 2.0. /** If you do not wish the engine to be compiled with OpenGL ES 2.0, comment this define out. */ +#if defined(_IRR_ANDROID_PLATFORM_) || defined(_IRR_IOS_PLATFORM_) +#define _IRR_COMPILE_WITH_OGLES2_ +#else //#define _IRR_COMPILE_WITH_OGLES2_ +#endif #ifdef NO_IRR_COMPILE_WITH_OGLES2_ #undef _IRR_COMPILE_WITH_OGLES2_ #endif