OCaml 4.14.0 rebuild
[arch-packages.git] / libva-vdpau-driver / trunk / libva-vdpau-driver-0.7.4-glext-missing-definition.patch
blobb56d26834305eeb489b191298b92bcba9f41e6c5
1 --- a/src/utils_glx.h~ 2012-10-05 16:02:58.000000000 +0100
2 +++ b/src/utils_glx.h 2012-10-19 08:44:12.469642440 +0100
3 @@ -48,6 +48,13 @@
4 typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int);
5 #endif
7 +#if GL_GLEXT_VERSION >= 85
8 +/* XXX: PFNGLMULTITEXCOORD2FPROC got out of the GL_VERSION_1_3_DEPRECATED
9 + block and is not defined if GL_VERSION_1_3 is defined in <GL/gl.h>
10 + Redefine the type here as an interim solution */
11 +typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
12 +#endif
14 #ifndef GL_FRAMEBUFFER_BINDING
15 #define GL_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING_EXT
16 #endif