diff options
Diffstat (limited to 'map/tiling_render_policy_mt.cpp')
-rw-r--r-- | map/tiling_render_policy_mt.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/map/tiling_render_policy_mt.cpp b/map/tiling_render_policy_mt.cpp index 62c8e431cc..4252382510 100644 --- a/map/tiling_render_policy_mt.cpp +++ b/map/tiling_render_policy_mt.cpp @@ -12,6 +12,8 @@ TilingRenderPolicyMT::TilingRenderPolicyMT(Params const & p) : BasicTilingRenderPolicy(p, false) { + int cpuCores = GetPlatform().CpuCores(); + graphics::ResourceManager::Params rmp = p.m_rmParams; rmp.checkDeviceCaps(); @@ -141,6 +143,7 @@ TilingRenderPolicyMT::TilingRenderPolicyMT(Params const & p) dp.m_useGuiResources = true; dp.m_isSynchronized = false; dp.m_fastSolidPath = true; + dp.m_renderContext = p.m_primaryRC; m_drawer.reset(new Drawer(dp)); |