]> git.pld-linux.org Git - packages/libva-driver-vdpau.git/blob - libva-driver-vdpau-with-GL_GLEXT_VERSION-85.patch
- added -with-GL_GLEXT_VERSION-85.patch
[packages/libva-driver-vdpau.git] / libva-driver-vdpau-with-GL_GLEXT_VERSION-85.patch
1 From dd3e1e53a0c083c4dc16f3db4083ad5e4b7a866e Mon Sep 17 00:00:00 2001
2 From: Nicolas Chauvet <kwizart@gmail.com>
3 Date: Fri, 11 Jan 2013 21:04:40 +0100
4 Subject: [PATCH] Fix libva-vdpau-driver with GL_GLEXT_VERSION >= 85
5
6 ---
7  src/utils_glx.h | 7 +++++++
8  1 file changed, 7 insertions(+)
9
10 diff --git a/src/utils_glx.h b/src/utils_glx.h
11 index 19d03e4..42ae06f 100644
12 --- a/src/utils_glx.h
13 +++ b/src/utils_glx.h
14 @@ -67,6 +67,13 @@ typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int);
15  #define GL_PROGRAM_UNDER_NATIVE_LIMITS GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
16  #endif
17  
18 +#if GL_GLEXT_VERSION >= 85
19 +/* XXX: PFNGLMULTITEXCOORD2FPROC got out of the GL_VERSION_1_3_DEPRECATED
20 + *     block and is not defined if GL_VERSION_1_3 is defined in <GL/gl.h>
21 + *             Redefine the type here as an interim solution */
22 +typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
23 +#endif
24 +
25  const char *
26  gl_get_error_string(GLenum error)
27      attribute_hidden;
28 -- 
29 1.7.11.7
30
This page took 0.1376 seconds and 3 git commands to generate.