diff options
| author | Matthew Parlane <parlane@gmail.com> | 2017-03-28 17:19:35 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-28 17:19:35 +1300 |
| commit | 85d74a506f6e4024ae1ffdf857d68ebed96fa4a9 (patch) | |
| tree | 615c4104ef8ab87cdc6267b9f856140eab025aa8 /Source/Core/VideoCommon | |
| parent | 8c23888968cbc8b513c5b45df5014213ba356bc1 (diff) | |
| parent | 0831dad467374f11256b5e63ca66b9dff5bf2463 (diff) | |
Merge pull request #4951 from waddlesplash/haiku-2
Initial support for Haiku.
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/DriverDetails.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/DriverDetails.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/DriverDetails.cpp b/Source/Core/VideoCommon/DriverDetails.cpp index 6d7852fa47..9d4cb69614 100644 --- a/Source/Core/VideoCommon/DriverDetails.cpp +++ b/Source/Core/VideoCommon/DriverDetails.cpp @@ -35,6 +35,8 @@ const u32 m_os = OS_ALL | OS_LINUX; const u32 m_os = OS_ALL | OS_FREEBSD; #elif __OpenBSD__ const u32 m_os = OS_ALL | OS_OPENBSD; +#elif __HAIKU__ +const u32 m_os = OS_ALL | OS_HAIKU; #endif static API m_api = API_OPENGL; diff --git a/Source/Core/VideoCommon/DriverDetails.h b/Source/Core/VideoCommon/DriverDetails.h index dc3340c024..44e492b3a2 100644 --- a/Source/Core/VideoCommon/DriverDetails.h +++ b/Source/Core/VideoCommon/DriverDetails.h @@ -27,6 +27,7 @@ enum OS OS_ANDROID = (1 << 4), OS_FREEBSD = (1 << 5), OS_OPENBSD = (1 << 6), + OS_HAIKU = (1 << 7), }; // Enum of known vendors // Tegra and Nvidia are separated out due to such substantial differences |
