WinRT: another ANGLE/OpenGL-initialization, error messaging tweak
This commit is contained in:
parent
93fc5ce8a9
commit
7be22f39a9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
_this->egl_data->egl_display = eglGetPlatformDisplayEXT(EGL_PLATFORM_ANGLE_ANGLE, EGL_DEFAULT_DISPLAY, defaultDisplayAttributes);
|
||||||
if (!_this->egl_data->egl_display) {
|
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)
|
if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue