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

This commit is contained in:
David Ludwig 2015-03-17 10:25:21 -04:00
parent 1083ae22e6
commit b12ea75991

View file

@ -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)