libva-vdpau-driver-0.7.4-glext-missing-definition.patch 659 B

1234567891011121314151617
  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
  6. +#if GL_GLEXT_VERSION >= 85
  7. +/* XXX: PFNGLMULTITEXCOORD2FPROC got out of the GL_VERSION_1_3_DEPRECATED
  8. + block and is not defined if GL_VERSION_1_3 is defined in <GL/gl.h>
  9. + Redefine the type here as an interim solution */
  10. +typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
  11. +#endif
  12. +
  13. #ifndef GL_FRAMEBUFFER_BINDING
  14. #define GL_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING_EXT
  15. #endif