diff options
| author | Scott Mansell <phiren@gmail.com> | 2023-01-31 17:29:16 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2023-02-09 18:36:20 +1300 |
| commit | 31cfe8250d5a27bd586136d0b71b09736861ad7d (patch) | |
| tree | 170644a7c52c618e488e2226768d23eb0e52482e /Source/Core/VideoBackends/OGL/OGLPerfQuery.cpp | |
| parent | 11de923dcb7e6a7e1b29e5b15cb2bf71ede22b97 (diff) | |
Lint fixes
Diffstat (limited to 'Source/Core/VideoBackends/OGL/OGLPerfQuery.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/OGLPerfQuery.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/OGLPerfQuery.cpp b/Source/Core/VideoBackends/OGL/OGLPerfQuery.cpp index a5bd155afb..6303464251 100644 --- a/Source/Core/VideoBackends/OGL/OGLPerfQuery.cpp +++ b/Source/Core/VideoBackends/OGL/OGLPerfQuery.cpp @@ -264,8 +264,9 @@ void PerfQueryGLESNV::FlushOne() // NOTE: Reported pixel metrics should be referenced to native resolution // TODO: Dropping the lower 2 bits from this count should be closer to actual // hardware behavior when drawing triangles. - const u64 native_res_result = static_cast<u64>(result) * EFB_WIDTH * EFB_HEIGHT / - (g_framebuffer_manager->GetEFBWidth() * g_framebuffer_manager->GetEFBHeight()); + const u64 native_res_result = + static_cast<u64>(result) * EFB_WIDTH * EFB_HEIGHT / + (g_framebuffer_manager->GetEFBWidth() * g_framebuffer_manager->GetEFBHeight()); m_results[entry.query_group].fetch_add(static_cast<u32>(native_res_result), std::memory_order_relaxed); |
