From 244d00280c1b082ca164f92337773e9e4e1a3898 Mon Sep 17 00:00:00 2001 From: hiker Date: Wed, 26 Feb 2014 11:13:03 +1100 Subject: [PATCH] Applied patch from jpirie for fixing mesa 10 compilation problems. --- lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h b/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h index 822f114c6..042601ddc 100644 --- a/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h +++ b/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h @@ -21,6 +21,7 @@ #endif #include #if defined(_IRR_OPENGL_USE_EXTPOINTER_) + typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); #include "glext.h" #endif #include "wglext.h" @@ -36,6 +37,7 @@ #endif #include #if defined(_IRR_OPENGL_USE_EXTPOINTER_) + typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); #include "glext.h" #endif #elif defined(_IRR_COMPILE_WITH_SDL_DEVICE_) && !defined(_IRR_COMPILE_WITH_X11_DEVICE_) @@ -49,6 +51,7 @@ #define NO_SDL_GLEXT #include #include + typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); #include "glext.h" #else #if defined(_IRR_OPENGL_USE_EXTPOINTER_) @@ -61,6 +64,7 @@ #include #include #if defined(_IRR_OPENGL_USE_EXTPOINTER_) + typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); #include #undef GLX_ARB_get_proc_address // avoid problems with local glxext.h #include