mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
6776d56b59
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
26 lines
1.2 KiB
Diff
26 lines
1.2 KiB
Diff
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
|
|
|
|
/*************************************************************/
|
|
|