Commit df3299627dfc3cc40a9722321ebea43ccdf51ea8

David Ludwig 2015-02-15T00:08:27

WinRT: fixed crash when using up-to-date versions of ANGLE/WinRT

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/video/winrt/SDL_winrtopengles.cpp b/src/video/winrt/SDL_winrtopengles.cpp
index e3a955b..c29c5fe 100644
--- a/src/video/winrt/SDL_winrtopengles.cpp
+++ b/src/video/winrt/SDL_winrtopengles.cpp
@@ -38,8 +38,8 @@ using namespace Windows::UI::Core;
 static const int ANGLE_D3D_FEATURE_LEVEL_ANY = 0;
 #define EGL_PLATFORM_ANGLE_ANGLE                0x3201
 #define EGL_PLATFORM_ANGLE_TYPE_ANGLE           0x3202
-#define EGL_PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE   0x3203
-#define EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE     0x3205
+#define EGL_PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE   0x3205
+#define EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE     0x3207
 
 /*
  * SDL/EGL top-level implementation