1.1 --- a/src/video/winrt/SDL_winrtopengles.cpp Sun Mar 15 19:25:10 2015 +0100
1.2 +++ b/src/video/winrt/SDL_winrtopengles.cpp Tue Mar 17 10:22:36 2015 -0400
1.3 @@ -85,11 +85,11 @@
1.4 Microsoft::WRL::ComPtr<IUnknown> cpp_display = video_data->winrtEglWindow;
1.5 _this->egl_data->egl_display = ((eglGetDisplay_Old_Function)_this->egl_data->eglGetDisplay)(cpp_display);
1.6 if (!_this->egl_data->egl_display) {
1.7 - return SDL_SetError("Could not get EGL display");
1.8 + return SDL_SetError("Could not get Windows 8.0 EGL display");
1.9 }
1.10
1.11 if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE) {
1.12 - return SDL_SetError("Could not initialize EGL");
1.13 + return SDL_SetError("Could not initialize Windows 8.0 EGL");
1.14 }
1.15 } else {
1.16 /* Declare some ANGLE/EGL initialization property-sets, as suggested by
1.17 @@ -136,7 +136,7 @@
1.18 */
1.19 _this->egl_data->egl_display = eglGetPlatformDisplayEXT(EGL_PLATFORM_ANGLE_ANGLE, EGL_DEFAULT_DISPLAY, defaultDisplayAttributes);
1.20 if (!_this->egl_data->egl_display) {
1.21 - return SDL_SetError("Could not get EGL display");
1.22 + return SDL_SetError("Could not get 10_0 EGL display");
1.23 }
1.24
1.25 if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE)
1.26 @@ -161,7 +161,7 @@
1.27 }
1.28
1.29 if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE) {
1.30 - return SDL_SetError("Could not initialize EGL");
1.31 + return SDL_SetError("Could not initialize WinRT 8.x+ EGL");
1.32 }
1.33 }
1.34 }