freebsd-ports/x11-toolkits/irrlicht/files/patch-source__Irrlicht__COpenGLExtensionHandler.h
Antoine Brodin 16a236acb5 - Update to 1.8.1 [1]
- Reset Maintainer [2]
- Fix build with new mesa

PR:		ports/185001 [1]
Submitted by:	Hardy Schumacher [1]
Approved by:	maintainer timeout (10 months) [2]
2014-10-18 09:49:37 +00:00

12 lines
434 B
C

--- source/Irrlicht/COpenGLExtensionHandler.h.orig 2014-10-18 08:53:44 UTC
+++ source/Irrlicht/COpenGLExtensionHandler.h
@@ -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 "glext.h"
#undef GLX_ARB_get_proc_address // avoid problems with local glxext.h