WinRT: got the SDL-official OpenGL ES 2 changes working, in an experimental state
This commit is contained in:
parent
446c381267
commit
603365be1e
7 changed files with 16 additions and 175 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue