mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +09:00
[Fix] (Includes.h): preprocessor hack to get rid of annoying gl.h
This commit is contained in:
@@ -62,7 +62,9 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#define GL_GLEXT_PROTOTYPES
|
#define GL_GLEXT_PROTOTYPES
|
||||||
|
#ifndef NO_GL_H
|
||||||
#include "GL/gl.h"
|
#include "GL/gl.h"
|
||||||
|
#endif
|
||||||
#include <GL/glcorearb.h>
|
#include <GL/glcorearb.h>
|
||||||
#undef GL_GLEXT_PROTOTYPES
|
#undef GL_GLEXT_PROTOTYPES
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,9 @@
|
|||||||
#include <objc/runtime.h>
|
#include <objc/runtime.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define NO_GL_H
|
||||||
#include <Includes.h>
|
#include <Includes.h>
|
||||||
|
#undef NO_GL_H
|
||||||
|
|
||||||
namespace MobileGL {
|
namespace MobileGL {
|
||||||
void MG_Initialize();
|
void MG_Initialize();
|
||||||
|
|||||||
Reference in New Issue
Block a user