aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475>2020-12-30 18:50:50 +0000
committercutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475>2020-12-30 18:50:50 +0000
commit9274951a08eda94bd3a3560f3b74fee234f3991f (patch)
treefffae18f3385640f05bdf57962a9a9fa77c1d827
parenta9f7c2abc9c3d8e586a541303f830d492b8b70e5 (diff)
downloadirrlicht-9274951a08eda94bd3a3560f3b74fee234f3991f.tar.xz
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
-rw-r--r--include/IrrCompileConfig.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/IrrCompileConfig.h b/include/IrrCompileConfig.h
index ce7e4bb..76b5dff 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_