summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2015-07-13 19:51:18 +1200
committerScott Mansell <phiren@gmail.com>2015-07-13 19:51:18 +1200
commitda38e3a8ae7be05ca783e72f0bce821dc23646bd (patch)
treed9522fbe017dfe00fe2bd5cde44d3554c3e6ab00 /Source/Core/VideoCommon
parent87e19f1c190719bd1280eb94bcdf372caca5287b (diff)
parentfff113b64ffbb673d803d18c28f833c7d2b6c02d (diff)
Merge pull request #2741 from endrift/fix-freebsd-build-stable
Fix FreeBSD (stable)
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/DriverDetails.cpp2
-rw-r--r--Source/Core/VideoCommon/DriverDetails.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/DriverDetails.cpp b/Source/Core/VideoCommon/DriverDetails.cpp
index aa2e34d184..d3b1883cb3 100644
--- a/Source/Core/VideoCommon/DriverDetails.cpp
+++ b/Source/Core/VideoCommon/DriverDetails.cpp
@@ -30,6 +30,8 @@ namespace DriverDetails
const u32 m_os = OS_ALL | OS_OSX;
#elif __linux__
const u32 m_os = OS_ALL | OS_LINUX;
+#elif __FreeBSD__
+ const u32 m_os = OS_ALL | OS_FREEBSD;
#endif
static Vendor m_vendor = VENDOR_UNKNOWN;
diff --git a/Source/Core/VideoCommon/DriverDetails.h b/Source/Core/VideoCommon/DriverDetails.h
index 86fc2b04b6..cdc5026dc2 100644
--- a/Source/Core/VideoCommon/DriverDetails.h
+++ b/Source/Core/VideoCommon/DriverDetails.h
@@ -14,6 +14,7 @@ namespace DriverDetails
OS_LINUX = (1 << 2),
OS_OSX = (1 << 3),
OS_ANDROID = (1 << 4),
+ OS_FREEBSD = (1 << 5),
};
// Enum of known vendors
// Tegra and Nvidia are separated out due to such substantial differences