mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 07:14:37 +08:00
17 lines
554 B
Diff
17 lines
554 B
Diff
--- a/src/utils_glx.h
|
|
+++ b/src/utils_glx.h
|
|
@@ -41,6 +41,13 @@
|
|
typedef void (*PFNGLXDESTROYPIXMAPPROC)(Display *, GLXPixmap);
|
|
#endif
|
|
|
|
+#if GL_GLEXT_VERSION >= 85
|
|
+/* XXX: PFNGLMULTITEXCOORD2FPROC got out of the GL_VERSION_1_3_DEPRECATED
|
|
+ block and is not defined if GL_VERSION_1_3 is defined in <GL/gl.h>
|
|
+ Redefine the type here as an interim solution */
|
|
+typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
|
|
+#endif
|
|
+
|
|
#ifndef GL_FRAMEBUFFER_BINDING
|
|
#define GL_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING_EXT
|
|
#endif
|