Browse Source

include: add comment documenting the change(s) to SDL_opengl_glext.h

Anonymous Maarten 2 years ago
parent
commit
c5035d8ffd
1 changed files with 3 additions and 0 deletions
  1. 3 0
      include/SDL_opengl_glext.h

+ 3 - 0
include/SDL_opengl_glext.h

@@ -1,3 +1,6 @@
+// SDL modified the include guard to be compatible with Mesa and Apple include guards:
+// - Mesa uses: __gl_glext_h_
+// - Apple uses: __glext_h_
 #if !defined(__glext_h_) && !defined(__gl_glext_h_)
 #define __glext_h_ 1
 #define __gl_glext_h_ 1