mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-29 06:28:29 +00:00
Fixed building SDL on UWP
This commit is contained in:
@@ -698,7 +698,7 @@ WINRT_CreateWindow(_THIS, SDL_Window * window)
|
||||
data->egl_surface = _this->egl_data->eglCreateWindowSurface(
|
||||
_this->egl_data->egl_display,
|
||||
_this->egl_data->egl_config,
|
||||
coreWindowAsIInspectable,
|
||||
(NativeWindowType)coreWindowAsIInspectable,
|
||||
NULL);
|
||||
if (data->egl_surface == NULL) {
|
||||
return SDL_EGL_SetError("unable to create EGL native-window surface", "eglCreateWindowSurface");
|
||||
|
Reference in New Issue
Block a user