diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-07-16 04:50:18 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:41:00 +0300 |
commit | 32c7a64f5b0a9e8c733ec853eda93eba540fa9ff (patch) | |
tree | 87d50b7f00e83a45efbb359f74a1388ff6528f03 /map/benchmark_engine.cpp | |
parent | e1c192c9c55dbd836e4a3ae2a57e1f348d06d465 (diff) |
fixes according to code review.
Diffstat (limited to 'map/benchmark_engine.cpp')
-rw-r--r-- | map/benchmark_engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/map/benchmark_engine.cpp b/map/benchmark_engine.cpp index 968d2082ea..3b4e38f82e 100644 --- a/map/benchmark_engine.cpp +++ b/map/benchmark_engine.cpp @@ -229,7 +229,7 @@ bool BenchmarkEngine::NextBenchmarkCommand() int fenceID = m_framework->GetRenderPolicy()->InsertBenchmarkFence(); m_framework->ShowRect(m_benchmarks[m_curBenchmark].m_provider->nextRect()); - m_curBenchmarkRect = m_framework->m_navigator.Screen().GlobalRect().GetGlobalRect(); + m_curBenchmarkRect = m_framework->GetCurrentViewport(); m_framework->GetRenderPolicy()->JoinBenchmarkFence(fenceID); |