فهرست منبع

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

Anonymous Maarten 2 سال پیش
والد
کامیت
d6fdb842b0
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      include/SDL3/SDL_opengl_glext.h

+ 3 - 0
include/SDL3/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