Commit c5035d8ffdf45a2bbadf81a7095fa681009f8149

Anonymous Maarten 2023-02-04T02:44:10

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

1
2
3
4
5
6
7
8
9
10
11
diff --git a/include/SDL_opengl_glext.h b/include/SDL_opengl_glext.h
index bdd3efb..f5da65d 100644
--- a/include/SDL_opengl_glext.h
+++ b/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