mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
WinRT: minor error cleanup regarding OpenGL init
This commit is contained in:
parent
0dfde14d35
commit
910c1cd0a0
@ -288,8 +288,8 @@ WINRT_CreateWindow(_THIS, SDL_Window * window)
|
||||
_this->egl_data->egl_config,
|
||||
nativeWindow, NULL);
|
||||
if (data->egl_surface == NULL) {
|
||||
// TODO, WinRT: see if SDL_EGL_CreateSurface, or its callee(s), sets an error message. If so, attach it to the SDL error.
|
||||
return SDL_SetError("SDL_EGL_CreateSurface failed");
|
||||
// TODO, WinRT: see if eglCreateWindowSurface, or its callee(s), sets an error message. If so, attach it to the SDL error.
|
||||
return SDL_SetError("eglCreateWindowSurface failed");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user