mirror of
https://github.com/encounter/SDL.git
synced 2025-05-17 21:01:32 +00:00
Fixed build when Wayland is dynamically loaded
This commit is contained in:
parent
edaa0ef53f
commit
ff8d2e1493
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user