From 02a216d6ad5c47b9299323d6ba76c794058f360e Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Sat, 22 Oct 2011 08:52:06 +0300 Subject: as the build system can compile against only one GL driver at once, we should disable the others. Otherwise, it fails at the link stage (libGL vs libGLESv1_CM vs libGLESv2) --- include/IrrCompileConfig.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/IrrCompileConfig.h b/include/IrrCompileConfig.h index 98913a4..29c02f0 100644 --- a/include/IrrCompileConfig.h +++ b/include/IrrCompileConfig.h @@ -829,9 +829,11 @@ precision will be lower but speed higher. currently X86 only // OpenGL-ES usually interferes with OpenGL #ifdef _IRR_COMPILE_WITH_OGLES2_ #undef _IRR_COMPILE_WITH_OPENGL_ + #undef _IRR_COMPILE_WITH_OGLES1_ #endif #ifdef _IRR_COMPILE_WITH_OGLES1_ #undef _IRR_COMPILE_WITH_OPENGL_ + #undef _IRR_COMPILE_WITH_OGLES2_ #endif #ifndef _IRR_WINDOWS_API_ -- cgit v1.2.3