Rehabilitate Haiku support.

This commit is contained in:
waddlesplash
2020-12-12 15:25:51 -05:00
parent 1d489b3fd5
commit 2df11d3911
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