summaryrefslogtreecommitdiff
path: root/src/SDL2/include/SDL_egl.h
diff options
context:
space:
mode:
authorMAN-AT-ARMS <donny@ecgnetwork.com>2014-03-24 19:13:56 -0400
committerTim Angus <tim@ngus.net>2014-08-28 11:03:33 +0100
commit93128472323d98f9902b280e2716874cfd0b2a05 (patch)
treea164f935d44b0d1ca10439ef82358392b8847198 /src/SDL2/include/SDL_egl.h
parent691ccef4078f82424e1c3dae2e7d1ba0ff6573ce (diff)
Update SDL2 to 2.0.3
Diffstat (limited to 'src/SDL2/include/SDL_egl.h')
-rw-r--r--src/SDL2/include/SDL_egl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/SDL2/include/SDL_egl.h b/src/SDL2/include/SDL_egl.h
index bda7c504..d312f042 100644
--- a/src/SDL2/include/SDL_egl.h
+++ b/src/SDL2/include/SDL_egl.h
@@ -391,9 +391,16 @@ typedef enum {
#endif
#include <windows.h>
+#if __WINRT__
+#include <Unknwn.h>
+typedef IUnknown * EGLNativeWindowType;
+typedef int EGLNativeDisplayType;
+typedef HBITMAP EGLNativePixmapType;
+#else
typedef HDC EGLNativeDisplayType;
typedef HBITMAP EGLNativePixmapType;
typedef HWND EGLNativeWindowType;
+#endif
#elif defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */