mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-17 04:39:34 +00:00
SDL: unbreak on more non-Vulkan platforms
SDL/SDLMain.cpp:160:2: error: unknown type name 'SDL_SysWMinfo'; did you mean 'SDL_SysWMmsg'? SDL_SysWMinfo sysInfo; //Will hold our Window information ^~~~~~~~~~~~~ SDL_SysWMmsg SDL/SDLMain.cpp:433:2: error: unknown type name 'SDL_SysWMinfo'; did you mean 'SDL_SysWMmsg'? SDL_SysWMinfo sys_info{}; ^~~~~~~~~~~~~ SDL_SysWMmsg SDL/SDLMain.cpp:440:2: warning: expression result unused [-Wunused-value] Window x11_window = sys_info.info.x11.window; ^~~~~~
This commit is contained in:
parent
fe45a059b5
commit
d4984ab991
@ -36,15 +36,17 @@ SDLJoystick *joystick = NULL;
|
||||
#include "Common/Vulkan/VulkanDebug.h"
|
||||
#include "math.h"
|
||||
|
||||
#if !defined(__APPLE__)
|
||||
#include "SDL_syswm.h"
|
||||
#endif
|
||||
|
||||
#if defined(VK_USE_PLATFORM_XLIB_KHR)
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include "SDL_syswm.h"
|
||||
#elif defined(VK_USE_PLATFORM_XCB_KHR)
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/Xlib-xcb.h>
|
||||
#include "SDL_syswm.h"
|
||||
#endif
|
||||
|
||||
#if defined(USING_EGL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user