diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-12-18 14:40:30 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:48:04 +0300 |
commit | c44578fca5db273e8b01e6bbc43dde188220337a (patch) | |
tree | 6e16bef373f5e5ee99fdca31af1bc8259175c249 /map/tiling_render_policy_mt.cpp | |
parent | 3e98f346b4515a41089ecfc216f839e837de3868 (diff) |
refactored GeometryBatcher to derive it from PipelinesManager.
Diffstat (limited to 'map/tiling_render_policy_mt.cpp')
-rw-r--r-- | map/tiling_render_policy_mt.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/map/tiling_render_policy_mt.cpp b/map/tiling_render_policy_mt.cpp index aa64d91a8e..41f1d0b69e 100644 --- a/map/tiling_render_policy_mt.cpp +++ b/map/tiling_render_policy_mt.cpp @@ -3,7 +3,6 @@ #include "../platform/platform.hpp" #include "../graphics/render_context.hpp" -#include "../graphics/skin.hpp" #include "window_handle.hpp" #include "tile_renderer.hpp" @@ -120,14 +119,12 @@ TilingRenderPolicyMT::TilingRenderPolicyMT(Params const & p) GetPlatform().GetFontNames(fonts); m_resourceManager->addFonts(fonts); - SetSkin(make_shared_ptr(graphics::loadSkin(m_resourceManager, SkinName()))); - Drawer::Params dp; dp.m_frameBuffer = make_shared_ptr(new graphics::gl::FrameBuffer(p.m_useDefaultFB)); dp.m_resourceManager = m_resourceManager; dp.m_threadSlot = m_resourceManager->guiThreadSlot(); - dp.m_skin = GetSkin(); + dp.m_skinName = SkinName(); dp.m_visualScale = VisualScale(); dp.m_useGuiResources = true; dp.m_isSynchronized = false; |