mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Add support for HAIKU detection by the SDL.
This was SVN commit r24366.
This commit is contained in:
parent
d09c5bf8bc
commit
cc65e0e8a2
1 changed files with 4 additions and 1 deletions
|
|
@ -84,7 +84,10 @@ const char* GetSDLSubsystem(SDL_Window* window)
|
|||
subsystem = "OS/2";
|
||||
break;
|
||||
#endif
|
||||
// Insert newer supported platforms here.
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 12)
|
||||
case SDL_SYSWM_HAIKU:
|
||||
subsystem = "Haiku";
|
||||
#endif
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 11)
|
||||
default:
|
||||
debug_printf("Unknown platform, please add it to source/lib/external_libraries/libsdl.cpp\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue