Fixed build when Wayland is dynamically loaded
This commit is contained in:
1 parent
edaa0ef53f
commit
ff8d2e1493
1 file changed
+1
@@ -46,6 +46,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_WAYLAND
|
#if SDL_VIDEO_DRIVER_WAYLAND
|
||||||
#define VK_USE_PLATFORM_WAYLAND_KHR
|
#define VK_USE_PLATFORM_WAYLAND_KHR
|
||||||
|
#include "wayland/SDL_waylanddyn.h"
|
||||||
#endif
|
#endif
|
||||||
#if SDL_VIDEO_DRIVER_WINDOWS
|
#if SDL_VIDEO_DRIVER_WINDOWS
|
||||||
#define VK_USE_PLATFORM_WIN32_KHR
|
#define VK_USE_PLATFORM_WIN32_KHR
|
||||||
|
|||||||
Reference in new issue
Block a user