mirror of https://github.com/encounter/SDL.git
Fixed building SDL on UWP
This commit is contained in:
parent
3008b005c3
commit
11a9cd6344
|
@ -114,7 +114,6 @@
|
||||||
<ClInclude Include="..\src\haptic\windows\SDL_dinputhaptic_c.h" />
|
<ClInclude Include="..\src\haptic\windows\SDL_dinputhaptic_c.h" />
|
||||||
<ClInclude Include="..\src\haptic\windows\SDL_windowshaptic_c.h" />
|
<ClInclude Include="..\src\haptic\windows\SDL_windowshaptic_c.h" />
|
||||||
<ClInclude Include="..\src\haptic\windows\SDL_xinputhaptic_c.h" />
|
<ClInclude Include="..\src\haptic\windows\SDL_xinputhaptic_c.h" />
|
||||||
<ClInclude Include="..\src\hidapi\SDL_hidapi.c" />
|
|
||||||
<ClInclude Include="..\src\joystick\SDL_gamecontrollerdb.h" />
|
<ClInclude Include="..\src\joystick\SDL_gamecontrollerdb.h" />
|
||||||
<ClInclude Include="..\src\joystick\SDL_joystick_c.h" />
|
<ClInclude Include="..\src\joystick\SDL_joystick_c.h" />
|
||||||
<ClInclude Include="..\src\joystick\SDL_sysjoystick.h" />
|
<ClInclude Include="..\src\joystick\SDL_sysjoystick.h" />
|
||||||
|
@ -247,6 +246,7 @@
|
||||||
<ClCompile Include="..\src\haptic\windows\SDL_dinputhaptic.c" />
|
<ClCompile Include="..\src\haptic\windows\SDL_dinputhaptic.c" />
|
||||||
<ClCompile Include="..\src\haptic\windows\SDL_windowshaptic.c" />
|
<ClCompile Include="..\src\haptic\windows\SDL_windowshaptic.c" />
|
||||||
<ClCompile Include="..\src\haptic\windows\SDL_xinputhaptic.c" />
|
<ClCompile Include="..\src\haptic\windows\SDL_xinputhaptic.c" />
|
||||||
|
<ClCompile Include="..\src\hidapi\SDL_hidapi.c" />
|
||||||
<ClCompile Include="..\src\joystick\dummy\SDL_sysjoystick.c" />
|
<ClCompile Include="..\src\joystick\dummy\SDL_sysjoystick.c" />
|
||||||
<ClCompile Include="..\src\joystick\SDL_gamecontroller.c" />
|
<ClCompile Include="..\src\joystick\SDL_gamecontroller.c" />
|
||||||
<ClCompile Include="..\src\joystick\SDL_joystick.c" />
|
<ClCompile Include="..\src\joystick\SDL_joystick.c" />
|
||||||
|
|
|
@ -447,8 +447,6 @@
|
||||||
<ClInclude Include="..\include\SDL_misc.h">
|
<ClInclude Include="..\include\SDL_misc.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="..\src\atomic\SDL_atomic.c">
|
<ClCompile Include="..\src\atomic\SDL_atomic.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
|
|
@ -698,7 +698,7 @@ WINRT_CreateWindow(_THIS, SDL_Window * window)
|
||||||
data->egl_surface = _this->egl_data->eglCreateWindowSurface(
|
data->egl_surface = _this->egl_data->eglCreateWindowSurface(
|
||||||
_this->egl_data->egl_display,
|
_this->egl_data->egl_display,
|
||||||
_this->egl_data->egl_config,
|
_this->egl_data->egl_config,
|
||||||
coreWindowAsIInspectable,
|
(NativeWindowType)coreWindowAsIInspectable,
|
||||||
NULL);
|
NULL);
|
||||||
if (data->egl_surface == NULL) {
|
if (data->egl_surface == NULL) {
|
||||||
return SDL_EGL_SetError("unable to create EGL native-window surface", "eglCreateWindowSurface");
|
return SDL_EGL_SetError("unable to create EGL native-window surface", "eglCreateWindowSurface");
|
||||||
|
|
Loading…
Reference in New Issue