diff options
author | Niclas Zeising <zeising@FreeBSD.org> | 2013-09-29 17:01:41 +0000 |
---|---|---|
committer | Niclas Zeising <zeising@FreeBSD.org> | 2013-09-29 17:01:41 +0000 |
commit | 5a4c543c2b0f538631aea8379ce384d5defee89d (patch) | |
tree | 108a55d148b3bc801facab0fb03b8666659c1136 /multimedia/libva-vdpau-driver | |
parent | 7231ff2710fcc89472994d2e2d235e74e9c8704c (diff) | |
download | ports-5a4c543c2b0f538631aea8379ce384d5defee89d.tar.gz ports-5a4c543c2b0f538631aea8379ce384d5defee89d.zip |
Notes
Diffstat (limited to 'multimedia/libva-vdpau-driver')
-rw-r--r-- | multimedia/libva-vdpau-driver/files/patch-src-utils_glx.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/multimedia/libva-vdpau-driver/files/patch-src-utils_glx.h b/multimedia/libva-vdpau-driver/files/patch-src-utils_glx.h new file mode 100644 index 000000000000..3d9d273e3869 --- /dev/null +++ b/multimedia/libva-vdpau-driver/files/patch-src-utils_glx.h @@ -0,0 +1,22 @@ +--- src/utils_glx.h.orig 2013-09-29 15:55:16.128603213 +0200 ++++ src/utils_glx.h 2013-09-29 15:55:18.537925849 +0200 +@@ -42,6 +42,19 @@ + typedef void (*PFNGLVDPAUUNMAPSURFACESNVPROC)(GLsizei numSurface, const GLvdpauSurfaceNV *surfaces); + #endif + ++#if GL_GLEXT_VERSION >= 85 ++/* ++ * The following typedef is hidden in at least Mesa 9.1.x, because: ++ * o GL/glext.h was updated to version 85, moving the typedef inside ++ * an #ifndef GL_VERSION_1_3 block. ++ * (Mesa Git: 68060cfb2bbf890a3932c8d25382261a83f393af) ++ * o GL/gl.h defines GL_VERSION_1_3 to 1. ++ * ++ * See: https://gitorious.org/vaapi/gstreamer-vaapi/commit/5db2e93d3c930fd8470cfdcd26f514d1cebc59a0/diffs ++ */ ++typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); ++#endif ++ + /* GLX_EXT_texture_from_pixmap */ + #if GLX_GLXEXT_VERSION < 18 + typedef void (*PFNGLXBINDTEXIMAGEEXTPROC)(Display *, GLXDrawable, int, const int *); |