summaryrefslogtreecommitdiffstats
path: root/libva-vdpau-driver/build/libva-vdpau-driver_glext.patch
blob: 25bfe892f1751a72df518684532459829d965aed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- libva-vdpau-driver-0.7.4/src/utils_glx.h~	2012-10-05 16:02:58.000000000 +0100
+++ libva-vdpau-driver-0.7.4/src/utils_glx.h	2012-10-19 08:44:12.469642440 +0100
@@ -48,6 +48,13 @@ 
 typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int);
 #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