summaryrefslogtreecommitdiffstats
path: root/libva-vdpau-driver
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2013-12-11 13:36:08 +0000
committer Eric Hameleers <alien@slackware.com>2013-12-11 13:36:08 +0000
commitad87ec5a48cd114973cd63c60a11deb883bf1d91 (patch)
tree7b8f0f1a97b9bb5b65a153cd45d9b82848b5afcc /libva-vdpau-driver
parent8fb8fd4f352c48e56ef96ccb10ba4da9bc5a0890 (diff)
downloadasb-ad87ec5a48cd114973cd63c60a11deb883bf1d91.tar.gz
asb-ad87ec5a48cd114973cd63c60a11deb883bf1d91.tar.xz
Initial revision
Diffstat (limited to 'libva-vdpau-driver')
-rw-r--r--libva-vdpau-driver/build/libva-vdpau-driver_glext.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/libva-vdpau-driver/build/libva-vdpau-driver_glext.patch b/libva-vdpau-driver/build/libva-vdpau-driver_glext.patch
new file mode 100644
index 00000000..25bfe892
--- /dev/null
+++ b/libva-vdpau-driver/build/libva-vdpau-driver_glext.patch
@@ -0,0 +1,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