From 14e0b48ae43c3625f8571dec88121c91d575c65c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 21 Jul 2016 19:04:57 -0400 Subject: VideoCommon: Make API_TYPE an enum class Allows for forward declarations in most places, which prevents dumping unrelated VideoCommon.h contents directly into headers. --- Source/Core/VideoCommon/Statistics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/Statistics.cpp') 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); -- cgit v1.2.3