From cd70e1aa2140ed772d7dcdbfc1e30cbb5e263b48 Mon Sep 17 00:00:00 2001 From: hybrid Date: Sun, 5 Jun 2011 21:42:44 +0000 Subject: [PATCH] Add extension flag for ogl-es2 driver. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@3792 dfc29bdd-3216-0410-991c-e03cc46cb475 --- include/IrrCompileConfig.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/IrrCompileConfig.h b/include/IrrCompileConfig.h index 66d0d4c3..8edb679b 100644 --- a/include/IrrCompileConfig.h +++ b/include/IrrCompileConfig.h @@ -243,6 +243,14 @@ define out. */ #endif #endif +//! Define _IRR_OGLES2_USE_EXTPOINTER_ if the OpenGL-ES 2.x driver should use extensions via function pointers. +/** This should usually be enabled, but also depends on the specific + architecture. You can simply uncomment the define and recompile. +*/ +#ifdef _IRR_COMPILE_WITH_OGLES2_ +#define _IRR_OGLES2_USE_EXTPOINTER_ +#endif + //! On some Linux systems the XF86 vidmode extension or X11 RandR are missing. Use these flags //! to remove the dependencies such that Irrlicht will compile on those systems, too. //! If you don't need colored cursors you can also disable the Xcursor extension