From df3299627dfc3cc40a9722321ebea43ccdf51ea8 Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Sun, 15 Feb 2015 00:08:27 -0500 Subject: [PATCH] WinRT: fixed crash when using up-to-date versions of ANGLE/WinRT --- src/video/winrt/SDL_winrtopengles.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/winrt/SDL_winrtopengles.cpp b/src/video/winrt/SDL_winrtopengles.cpp index e3a955be1..c29c5fed9 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