aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fabo@debian.org>2011-10-22 08:52:06 +0300
committerFathi Boudra <fabo@debian.org>2011-10-22 08:52:06 +0300
commit02a216d6ad5c47b9299323d6ba76c794058f360e (patch)
treeb2e8167bd11a49e302d06b79eff63f52b34e2600
parentad654f8c70f1c311283bdd38a242de979f66968c (diff)
downloadirrlicht-gles-02a216d6ad5c47b9299323d6ba76c794058f360e.tar.gz
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)
-rw-r--r--include/IrrCompileConfig.h2
1 files changed, 2 insertions, 0 deletions
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_