aboutsummaryrefslogtreecommitdiff
path: root/include/IrrCompileConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/IrrCompileConfig.h')
-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_