Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qt_tstfrm/tstwidgets.cpp')
-rw-r--r--qt_tstfrm/tstwidgets.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/qt_tstfrm/tstwidgets.cpp b/qt_tstfrm/tstwidgets.cpp
index b2672f149d..77a67cabf6 100644
--- a/qt_tstfrm/tstwidgets.cpp
+++ b/qt_tstfrm/tstwidgets.cpp
@@ -1,5 +1,7 @@
#include "qt_tstfrm/tstwidgets.hpp"
+#include "map/render_policy.hpp"
+
#include "graphics/screen.hpp"
#include "graphics/resource_manager.hpp"
@@ -103,11 +105,7 @@ namespace tst
rmp.m_textureParams[graphics::ESmallTexture] = tpp;
- rmp.m_glyphCacheParams = graphics::ResourceManager::GlyphCacheParams("unicode_blocks.txt",
- "fonts_whitelist.txt",
- "fonts_blacklist.txt",
- 2 * 1024 * 1024,
- graphics::EDensityMDPI);
+ rmp.m_glyphCacheParams = GetResourceGlyphCacheParams(graphics::EDensityMDPI);
rmp.m_threadSlotsCount = 1;
rmp.m_renderThreadsCount = 0;
@@ -123,7 +121,7 @@ namespace tst
GetPlatform().GetFontNames(fonts);
m_resourceManager->addFonts(fonts);
- Drawer::Params params;
+ graphics::Screen::Params params;
m_primaryFrameBuffer.reset(new graphics::gl::FrameBuffer(true));