diff options
| author | Léo Lam <leo@leolam.fr> | 2020-12-15 02:41:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-15 02:41:05 +0100 |
| commit | dbf7c40886320a10d181aec85c2e0df82ea02592 (patch) | |
| tree | 3a46942f190f1741bef41e22ba0a6abedf8aede2 /Source/Core/VideoCommon | |
| parent | ded7d1b23de37246aadffe22b608e4c9025abf0d (diff) | |
| parent | 2c355b81f20fe0d40ac825375073d21b211732b9 (diff) | |
Merge pull request #9309 from devnexen/netbsd_port
NetBSD support proposal.
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 88a482ecf8..9f5b06ccdd 100644 --- a/Source/Core/VideoCommon/DriverDetails.cpp +++ b/Source/Core/VideoCommon/DriverDetails.cpp @@ -35,6 +35,8 @@ constexpr u32 m_os = OS_ALL | OS_LINUX; constexpr u32 m_os = OS_ALL | OS_FREEBSD; #elif __OpenBSD__ constexpr u32 m_os = OS_ALL | OS_OPENBSD; +#elif __NetBSD__ +constexpr u32 m_os = OS_ALL | OS_NETBSD; #endif static API m_api = API_OPENGL; diff --git a/Source/Core/VideoCommon/DriverDetails.h b/Source/Core/VideoCommon/DriverDetails.h index 3e58a5fb58..2e25b2a79b 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_NETBSD = (1 << 7), }; // Enum of known vendors // Tegra and Nvidia are separated out due to such substantial differences |
