WinRT: got the SDL-official OpenGL ES 2 changes working, in an experimental state

This commit is contained in:
David Ludwig
2013-11-28 22:59:21 -05:00
parent 7b5887b271
commit ecfbb3f5dc
7 changed files with 16 additions and 175 deletions

View File

@@ -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 */