aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLCID Fire <lcid-fire@gmx.net>2012-09-16 01:05:16 +0200
committerLCID Fire <lcid-fire@gmx.net>2012-09-16 01:06:19 +0200
commit9dff51d15323d891446b9f29c1c777de63b5ba0c (patch)
tree2cab19c7e7621b9ab91379545ba30ffaef5da48b
parentc15aae947c3268d07bb71d79c9e35e0a19c4bc55 (diff)
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;