aboutsummaryrefslogtreecommitdiff
path: root/libraries/irrlicht/irrlicht-1.8.1-mesa10.patch
blob: ca8e4a7614adf8ca8d6d3e334911e3f4c2b1024c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
 
 /*************************************************************/