From 9274951a08eda94bd3a3560f3b74fee234f3991f Mon Sep 17 00:00:00 2001 From: cutealien Date: Wed, 30 Dec 2020 18:50:50 +0000 Subject: [PATCH] Enable _IRR_COMPILE_WITH_OGLES1_ on IOS. Should be enabled according to Maksym Hamarnyk git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6181 dfc29bdd-3216-0410-991c-e03cc46cb475 --- include/IrrCompileConfig.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/IrrCompileConfig.h b/include/IrrCompileConfig.h index ce7e4bbd..76b5dff3 100644 --- a/include/IrrCompileConfig.h +++ b/include/IrrCompileConfig.h @@ -230,10 +230,9 @@ define out. */ //! Define _IRR_COMPILE_WITH_OGLES1_ to compile the Irrlicht engine with OpenGL ES 1.1. /** If you do not wish the engine to be compiled with OpenGL ES 1.1, comment this define out. -Currently only enabled on Android by default. Depending on platform you may have to enable _IRR_OGLES1_USE_KHRONOS_API_HEADERS_ as well when using it. */ -#if defined(_IRR_ANDROID_PLATFORM_) +#if defined(_IRR_ANDROID_PLATFORM_) || define(_IRR_IOS_PLATFORM_) #define _IRR_COMPILE_WITH_OGLES1_ #endif #ifdef NO_IRR_COMPILE_WITH_OGLES1_