mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 20:28:32 +09:00
[Fix] (Includes.h): preprocessor hack to get rid of annoying gl.h
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user