diff options
Diffstat (limited to 'Source/Core/VideoBackends/D3D/PerfQuery.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/PerfQuery.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/D3D/PerfQuery.cpp b/Source/Core/VideoBackends/D3D/PerfQuery.cpp index 0382be903c..37d6620aba 100644 --- a/Source/Core/VideoBackends/D3D/PerfQuery.cpp +++ b/Source/Core/VideoBackends/D3D/PerfQuery.cpp @@ -3,7 +3,7 @@ // Refer to the license.txt file included. #include "VideoBackends/D3D/PerfQuery.h" -#include "Common/CommonFuncs.h" + #include "Common/CommonTypes.h" #include "Common/Logging/Log.h" #include "VideoBackends/D3D/D3DBase.h" @@ -63,7 +63,7 @@ void PerfQuery::DisableQuery(PerfQueryGroup type) void PerfQuery::ResetQuery() { m_query_count = 0; - std::fill_n(m_results, ArraySize(m_results), 0); + std::fill(std::begin(m_results), std::end(m_results), 0); } u32 PerfQuery::GetQueryResult(PerfQueryType type) |
