aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-09-17 13:11:14 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-09-17 13:11:14 -0700
commitec631376c3bc6143606e9c340d1ad912917db770 (patch)
tree2cab19c7e7621b9ab91379545ba30ffaef5da48b
parentc15aae947c3268d07bb71d79c9e35e0a19c4bc55 (diff)
parent9dff51d15323d891446b9f29c1c777de63b5ba0c (diff)
Merge pull request #568 from LCID-Fire/egl_header_-x11_deps
Make EGLNative* typedefs work without need for X11 headers.
-rw-r--r--system/include/EGL/eglplatform.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/include/EGL/eglplatform.h b/system/include/EGL/eglplatform.h
index 4512fd84..2db2cc47 100644
--- a/system/include/EGL/eglplatform.h
+++ b/system/include/EGL/eglplatform.h
@@ -75,6 +75,12 @@ typedef HDC EGLNativeDisplayType;
typedef HBITMAP EGLNativePixmapType;
typedef HWND EGLNativeWindowType;
+#elif defined(EMSCRIPTEN)
+
+typedef int EGLNativeDisplayType;
+typedef int EGLNativeWindowType;
+typedef int EGLNativePixmapType;
+
#elif defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */
typedef int EGLNativeDisplayType;