summaryrefslogtreecommitdiff
path: root/include/SDL_egl.h
diff options
context:
space:
mode:
authorDavid Ludwig <dludwig@pobox.com>2013-11-28 22:59:21 -0500
committerDavid Ludwig <dludwig@pobox.com>2013-11-28 22:59:21 -0500
commite598d85856a0eac7a4879835bee907b62551a88e (patch)
tree983f8a766a15aea68512183bcdca15e7bf8c5eec /include/SDL_egl.h
parent020c4c5046a4f08958a36ce0158d9b82ab18665c (diff)
WinRT: got the SDL-official OpenGL ES 2 changes working, in an experimental state
Diffstat (limited to 'include/SDL_egl.h')
-rw-r--r--include/SDL_egl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/SDL_egl.h b/include/SDL_egl.h
index fc8fde4a65..5a1bc374bc 100644
--- a/include/SDL_egl.h
+++ b/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 */