Merge pull request #9323 from waddlesplash/haiku

Rehabilitate Haiku support.
This commit is contained in:
Léo Lam
2021-01-05 16:09:43 +01:00
committed by GitHub
10 changed files with 155 additions and 3 deletions

View File

@ -37,6 +37,8 @@ constexpr u32 m_os = OS_ALL | OS_FREEBSD;
constexpr u32 m_os = OS_ALL | OS_OPENBSD;
#elif __NetBSD__
constexpr u32 m_os = OS_ALL | OS_NETBSD;
#elif __HAIKU__
constexpr u32 m_os = OS_ALL | OS_HAIKU;
#endif
static API m_api = API_OPENGL;

View File

@ -28,6 +28,7 @@ enum OS
OS_FREEBSD = (1 << 5),
OS_OPENBSD = (1 << 6),
OS_NETBSD = (1 << 7),
OS_HAIKU = (1 << 8),
};
// Enum of known vendors
// Tegra and Nvidia are separated out due to such substantial differences