From 6d3f249dcc746cc7845ef88ddb8ce3bcc9221aca Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 8 Jul 2014 15:58:25 +0200 Subject: mark all local variables as static --- Source/Core/VideoCommon/DriverDetails.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Source/Core/VideoCommon/DriverDetails.cpp') diff --git a/Source/Core/VideoCommon/DriverDetails.cpp b/Source/Core/VideoCommon/DriverDetails.cpp index 9646e6a140..0580bd98c9 100644 --- a/Source/Core/VideoCommon/DriverDetails.cpp +++ b/Source/Core/VideoCommon/DriverDetails.cpp @@ -32,14 +32,14 @@ namespace DriverDetails const u32 m_os = OS_ALL | OS_LINUX; #endif - Vendor m_vendor = VENDOR_UNKNOWN; - Driver m_driver = DRIVER_UNKNOWN; - s32 m_family = 0; - double m_version = 0.0; + static Vendor m_vendor = VENDOR_UNKNOWN; + static Driver m_driver = DRIVER_UNKNOWN; + static s32 m_family = 0; + static double m_version = 0.0; // This is a list of all known bugs for each vendor // We use this to check if the device and driver has a issue - BugInfo m_known_bugs[] = { + static BugInfo m_known_bugs[] = { {OS_ALL, VENDOR_QUALCOMM, DRIVER_QUALCOMM_3XX, -1, BUG_NODYNUBOACCESS, 14.0, -1.0, true}, {OS_ALL, VENDOR_QUALCOMM, DRIVER_QUALCOMM_3XX, -1, BUG_BROKENCENTROID, 14.0, 46.0, true}, {OS_ALL, VENDOR_QUALCOMM, DRIVER_QUALCOMM_3XX, -1, BUG_BROKENINFOLOG, -1.0, 46.0, true}, @@ -59,7 +59,7 @@ namespace DriverDetails {OS_LINUX, VENDOR_NVIDIA, DRIVER_NVIDIA, -1, BUG_BROKENUNSYNCMAPPING, -1.0, -1.0, true}, }; - std::map m_bugs; + static std::map m_bugs; void Init(Vendor vendor, Driver driver, const double version, const s32 family) { -- cgit v1.2.3