From de6babb928c074d1cf0d3a6fb264cfb5d70bbd52 Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Sun, 17 Jul 2016 04:10:49 -0600 Subject: [PATCH] Add an OpenBSD driver identifier. --- Source/Core/VideoCommon/DriverDetails.cpp | 2 ++ Source/Core/VideoCommon/DriverDetails.h | 1 + 2 files changed, 3 insertions(+) diff --git a/Source/Core/VideoCommon/DriverDetails.cpp b/Source/Core/VideoCommon/DriverDetails.cpp index 46e264353f..f65f0afa3e 100644 --- a/Source/Core/VideoCommon/DriverDetails.cpp +++ b/Source/Core/VideoCommon/DriverDetails.cpp @@ -32,6 +32,8 @@ const u32 m_os = OS_ALL | OS_OSX; const u32 m_os = OS_ALL | OS_LINUX; #elif __FreeBSD__ const u32 m_os = OS_ALL | OS_FREEBSD; +#elif __OpenBSD__ +const u32 m_os = OS_ALL | OS_OPENBSD; #endif static Vendor m_vendor = VENDOR_UNKNOWN; diff --git a/Source/Core/VideoCommon/DriverDetails.h b/Source/Core/VideoCommon/DriverDetails.h index 3868eda77e..9c705694c6 100644 --- a/Source/Core/VideoCommon/DriverDetails.h +++ b/Source/Core/VideoCommon/DriverDetails.h @@ -17,6 +17,7 @@ enum OS OS_OSX = (1 << 3), OS_ANDROID = (1 << 4), OS_FREEBSD = (1 << 5), + OS_OPENBSD = (1 << 6), }; // Enum of known vendors // Tegra and Nvidia are separated out due to such substantial differences