Fixed building SDL on UWP

This commit is contained in:
Sam Lantinga committed 2021-11-27 08:14:50 -08:00
1 parent 3008b005c3
commit 11a9cd6344
3 files changed
+2 -4

No files matched your search

+1 -1
View File
@@ -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");