summaryrefslogtreecommitdiff
path: root/src/SDL2/include/SDL_egl.h
diff options
context:
space:
mode:
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 */