summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Statistics.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-07-21 19:04:57 -0400
committerLioncash <mathew1800@gmail.com>2016-07-29 19:20:16 -0400
commit14e0b48ae43c3625f8571dec88121c91d575c65c (patch)
tree31bc05ce2f346cbdfd9572a5f82c57223bd98022 /Source/Core/VideoCommon/Statistics.cpp
parent66b11c5198adece05e8e53dca7bf1ad4489f1bdb (diff)
VideoCommon: Make API_TYPE an enum class
Allows for forward declarations in most places, which prevents dumping unrelated VideoCommon.h contents directly into headers.
Diffstat (limited to 'Source/Core/VideoCommon/Statistics.cpp')
-rw-r--r--Source/Core/VideoCommon/Statistics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Statistics.cpp b/Source/Core/VideoCommon/Statistics.cpp
index 1cc7d8a7f7..1497a3df30 100644
--- a/Source/Core/VideoCommon/Statistics.cpp
+++ b/Source/Core/VideoCommon/Statistics.cpp
@@ -30,7 +30,7 @@ std::string Statistics::ToString()
{
std::string str;
- if (g_ActiveConfig.backend_info.APIType == API_TYPE::API_NONE)
+ if (g_ActiveConfig.backend_info.api_type == APIType::Nothing)
{
str += StringFromFormat("Objects: %i\n", stats.thisFrame.numDrawnObjects);
str += StringFromFormat("Vertices Loaded: %i\n", stats.thisFrame.numVerticesLoaded);