summaryrefslogtreecommitdiff
path: root/libva-vdpau-driver/glx.patch
blob: 7143d8bb0d29671f3426ebb81703681ae6f31ece (plain)
    1 diff -ur a/src/utils_glx.h b/src/utils_glx.h
    2 --- a/src/utils_glx.h	2012-10-05 10:02:58.000000000 -0500
    3 +++ b/src/utils_glx.h	2012-10-26 22:00:13.039341049 -0500
    4 @@ -27,6 +27,13 @@
    5  #include <GL/glxext.h>
    6  #include <vdpau/vdpau.h>
    7  
    8 +#if GL_GLEXT_VERSION >= 85
    9 +/* XXX: PFNGLMULTITEXCOORD2FPROC got out of the GL_VERSION_1_3_DEPRECATED
   10 +   block and is not defined if GL_VERSION_1_3 is defined in <GL/gl.h>
   11 +   Redefine the type here as an interim solution */
   12 +typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
   13 +#endif
   14 +
   15  /* GL_NV_vdpau_interop */
   16  #if GL_GLEXT_VERSION < 64
   17  typedef GLintptr GLvdpauSurfaceNV;

Generated by cgit