]> git.lizzy.rs Git - irrlicht.git/commitdiff
Enable _IRR_COMPILE_WITH_OGLES1_ on IOS.
authorcutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475>
Wed, 30 Dec 2020 18:50:50 +0000 (18:50 +0000)
committercutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475>
Wed, 30 Dec 2020 18:50:50 +0000 (18:50 +0000)
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

index ce7e4bbd5ed8c42e45efa24a004e9ca019afdd73..76b5dff3afc940c6c0ffd8c472a4536df1babcdc 100644 (file)
@@ -230,10 +230,9 @@ define out. */
 //! Define _IRR_COMPILE_WITH_OGLES1_ to compile the Irrlicht engine with OpenGL ES 1.1.\r
 /** If you do not wish the engine to be compiled with OpenGL ES 1.1, comment this\r
 define out.\r
-Currently only enabled on Android by default.\r
 Depending on platform you may have to enable _IRR_OGLES1_USE_KHRONOS_API_HEADERS_ as well when using it.\r
 */\r
-#if defined(_IRR_ANDROID_PLATFORM_)\r
+#if defined(_IRR_ANDROID_PLATFORM_) || define(_IRR_IOS_PLATFORM_)\r
 #define _IRR_COMPILE_WITH_OGLES1_\r
 #endif\r
 #ifdef NO_IRR_COMPILE_WITH_OGLES1_\r