diff options
author | LCID Fire <lcid-fire@gmx.net> | 2012-09-16 01:05:16 +0200 |
---|---|---|
committer | LCID Fire <lcid-fire@gmx.net> | 2012-09-16 01:06:19 +0200 |
commit | 9dff51d15323d891446b9f29c1c777de63b5ba0c (patch) | |
tree | 2cab19c7e7621b9ab91379545ba30ffaef5da48b | |
parent | c15aae947c3268d07bb71d79c9e35e0a19c4bc55 (diff) |
Make EGLNative* typedefs work without need for X11 headers.
-rw-r--r-- | system/include/EGL/eglplatform.h | 6 |
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; |