Commit b12ea75991c0dd7c8c5ab458b4d0a769216196c4

David Ludwig 2015-03-17T10:25:21

WinRT: another ANGLE/OpenGL-initialization, error messaging tweak

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/winrt/SDL_winrtopengles.cpp b/src/video/winrt/SDL_winrtopengles.cpp
index f16a517..48e6cb5 100644
--- a/src/video/winrt/SDL_winrtopengles.cpp
+++ b/src/video/winrt/SDL_winrtopengles.cpp
@@ -136,7 +136,7 @@ WINRT_GLES_LoadLibrary(_THIS, const char *path)
          */
         _this->egl_data->egl_display = eglGetPlatformDisplayEXT(EGL_PLATFORM_ANGLE_ANGLE, EGL_DEFAULT_DISPLAY, defaultDisplayAttributes);
         if (!_this->egl_data->egl_display) {
-            return SDL_SetError("Could not get 10_0 EGL display");
+            return SDL_SetError("Could not get 10_0+ EGL display");
         }
 
         if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE)