fglrx-fix-GL-redefines.patch 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. Already defined in mesa
  2. Signed-off-by: Thomas Backlund <tmb@mageia.org>
  3. diff -Nurp fglrx-13.250.18.orig/common/usr/include/GL/glATI.h fglrx-13.250.18/common/usr/include/GL/glATI.h
  4. --- fglrx-13.250.18.orig/common/usr/include/GL/glATI.h 2013-12-06 13:46:50.339162515 +0200
  5. +++ fglrx-13.250.18/common/usr/include/GL/glATI.h 2013-12-06 13:51:18.621140440 +0200
  6. @@ -5367,7 +5367,9 @@ typedef GLvoid (APIENTRY * PFNGLTEXRENDE
  7. #define GL_SAMPLE_MASK_VALUE 0x8E52
  8. #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
  9. #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
  10. +#ifndef GL_PROXY_TEXTURE_2D_MULTISAMPLE
  11. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0X9101
  12. +#endif
  13. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
  14. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
  15. #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
  16. @@ -5385,11 +5387,13 @@ typedef GLvoid (APIENTRY * PFNGLTEXRENDE
  17. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
  18. typedef GLvoid (APIENTRY * PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield value);
  19. +#if 0
  20. typedef GLvoid (APIENTRY * PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat,
  21. GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  22. +
  23. typedef GLvoid (APIENTRY * PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat,
  24. GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  25. -
  26. +#endif
  27. // GL_EXT_timer_query
  28. #define GL_TIME_ELAPSED_EXT 0x88BF
  29. @@ -6006,6 +6010,7 @@ typedef GLvoid (APIENTRY * PFNGLDEBUGMES
  30. typedef GLvoid (APIENTRY * PFNGLDEBUGMESSAGECALLBACKARB)(GLvoid* callback, GLvoid* userParam);
  31. typedef GLuint (APIENTRY * PFNGLGETDEBUGMESSAGELOGARB)(GLuint count, GLsizei bufsize, GLenum* sources, GLenum* types, GLuint* ids, GLenum* severities, GLsizei* lengths, GLchar* messageLog);
  32. +#if 0
  33. typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,
  34. GLenum type,
  35. GLuint id,
  36. @@ -6014,6 +6019,7 @@ typedef void (APIENTRY *GLDEBUGPROCARB)(
  37. const GLchar* message,
  38. GLvoid* userParam);
  39. // end ARB_debug_output
  40. +#endif
  41. /* ARB_debug_group (KHR_debug) */