summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/DriverDetails.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-07-11 16:37:42 +0200
committerPierre Bourdon <delroth@gmail.com>2014-07-11 16:37:42 +0200
commit84bf097fb76304eb27d625e5f221dfb5ce922b1f (patch)
tree57079ff88525dade11b2d1901357e221df6ddab7 /Source/Core/VideoCommon/DriverDetails.cpp
parent326af097d9708ea49d54996aec46a7fa328cec1e (diff)
parent7e79806efcd5c5e41efea89fa385b480ac1882f5 (diff)
Merge pull request #579 from degasus/statics
Mark unexported global variables and functions as statics.
Diffstat (limited to 'Source/Core/VideoCommon/DriverDetails.cpp')
-rw-r--r--Source/Core/VideoCommon/DriverDetails.cpp12
1 files changed, 6 insertions, 6 deletions
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<Bug, BugInfo> m_bugs;
+ static std::map<Bug, BugInfo> m_bugs;
void Init(Vendor vendor, Driver driver, const double version, const s32 family)
{