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 446c381267
commit 603365be1e
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 */