diff options
Diffstat (limited to 'libraries/irrlicht/irrlicht-1.8.1-mesa10.patch')
-rw-r--r-- | libraries/irrlicht/irrlicht-1.8.1-mesa10.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libraries/irrlicht/irrlicht-1.8.1-mesa10.patch b/libraries/irrlicht/irrlicht-1.8.1-mesa10.patch new file mode 100644 index 0000000000..ca8e4a7614 --- /dev/null +++ b/libraries/irrlicht/irrlicht-1.8.1-mesa10.patch @@ -0,0 +1,26 @@ +diff -up irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h.mesa10 irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h +--- irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h.mesa10 2013-12-13 23:05:43.208343706 -0500 ++++ irrlicht-1.8.1/source/Irrlicht/COpenGLExtensionHandler.h 2013-12-13 23:05:43.213343691 -0500 +@@ -59,6 +59,9 @@ + #endif
+ #include <GL/gl.h>
+ #include <GL/glx.h>
++ #ifndef PFNGLBLENDEQUATIONPROC
++ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
++ #endif
+ #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
+ #include <GL/glext.h>
+ typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
+diff -up irrlicht-1.8.1/source/Irrlicht/glxext.h.mesa10 irrlicht-1.8.1/source/Irrlicht/glxext.h +--- irrlicht-1.8.1/source/Irrlicht/glxext.h.mesa10 2013-12-30 12:18:38.368368241 -0500 ++++ irrlicht-1.8.1/source/Irrlicht/glxext.h 2013-12-30 12:18:54.305386790 -0500 +@@ -44,6 +44,9 @@ extern "C" { + #ifndef GLAPI
+ #define GLAPI extern
+ #endif
++#ifndef GLXContextID
++#define GLXContextID XID
++#endif
+
+ /*************************************************************/
+
|