mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-25 15:05:34 +00:00
WinRT: another ANGLE/OpenGL-initialization, error messaging tweak
This commit is contained in:
parent
1083ae22e6
commit
b12ea75991
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue