slackbuilds_ponce/development/love-legacy080/newmesafix.diff
B. Watson d48213ca20
development/love-legacy080: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2021-10-13 00:51:57 +07:00

15 lines
679 B
Diff

diff -Naur love-HEAD/src/modules/graphics/opengl/GLee.h love-HEAD.patched/src/modules/graphics/opengl/GLee.h
--- love-HEAD/src/modules/graphics/opengl/GLee.h 2011-05-04 12:00:10.000000000 -0400
+++ love-HEAD.patched/src/modules/graphics/opengl/GLee.h 2021-09-03 14:16:42.123563880 -0400
@@ -62,8 +62,9 @@
#define GL_GLEXT_LEGACY
#include <OpenGL/gl.h>
#else // GLX
- #define __glext_h_ /* prevent glext.h from being included */
- #define __glxext_h_ /* prevent glxext.h from being included */
+ #define GL_GLEXT_LEGACY
+ #define GLX_GLEXT_LEGACY
+ #define GLX_GLXEXT_LEGACY
#define GLX_GLXEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glx.h>