mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Avoid pulling in EGL except where needed.
Seems to pull in X11, which pulls in a bunch of defines we don't want. This fixes compilation on such systems.
This commit is contained in:
1 parent
aa194f1e78
commit
6eeecbc5af
2 files changed
+3
-1
No files matched your search
@@ -6,7 +6,6 @@
|
||||
#elif defined(USING_GLES2)
|
||||
#include <GLES2/gl2.h>
|
||||
#include <GLES2/gl2ext.h>
|
||||
#include "EGL/egl.h"
|
||||
// At least Nokia platforms need the three below
|
||||
#include <KHR/khrplatform.h>
|
||||
typedef char GLchar;
|
||||
|
||||
@@ -23,6 +23,9 @@ PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES;
|
||||
PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES;
|
||||
PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES;
|
||||
#endif
|
||||
#ifndef IOS
|
||||
#include "EGL/egl.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
OpenGLState glstate;
|
||||
|
||||
Reference in new issue
Block a user