1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

SDL: Remove SDL_syswm.h include

This commit is contained in:
y5nw
2025-10-04 13:56:56 +02:00
committed by sfan5
parent 244dc7ac06
commit f2be1c39c8

View File

@@ -17,11 +17,6 @@
#endif
#include <SDL.h>
// DirectFB is removed in SDL3, thou distribution as Alpine currently ships SDL2
// with enabled DirectFB, but requiring another fix at a top of SDL2.
// We don't need DirectFB in Irrlicht/Minetest, so simply disable it here to prevent issues.
#undef SDL_VIDEO_DRIVER_DIRECTFB
#include <SDL_syswm.h>
#include <memory>
#include <unordered_map>