[Fix] (Includes.h): preprocessor hack to get rid of annoying gl.h

This commit is contained in:
2026-02-18 08:17:23 +08:00
parent 25a5fe0757
commit 56428df5e5
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -62,7 +62,9 @@
#endif
#include <EGL/egl.h>
#define GL_GLEXT_PROTOTYPES
#ifndef NO_GL_H
#include "GL/gl.h"
#endif
#include <GL/glcorearb.h>
#undef GL_GLEXT_PROTOTYPES
@@ -39,7 +39,9 @@
#include <objc/runtime.h>
#endif
#define NO_GL_H
#include <Includes.h>
#undef NO_GL_H
namespace MobileGL {
void MG_Initialize();