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.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/qt_tstfrm/tstwidgets.cpp b/qt_tstfrm/tstwidgets.cpp
index 2036381d4d..10e2500083 100644
--- a/qt_tstfrm/tstwidgets.cpp
+++ b/qt_tstfrm/tstwidgets.cpp
@@ -116,7 +116,7 @@ namespace tst
rmp.m_useSingleThreadedOGL = false;
- m_resourceManager.reset(new graphics::ResourceManager(rmp));
+ m_resourceManager.reset(new graphics::ResourceManager(rmp, "basic.skn", graphics::EDensityMDPI));
m_primaryContext->setResourceManager(m_resourceManager);
m_primaryContext->startThreadDrawing(0);
@@ -133,8 +133,6 @@ namespace tst
params.m_resourceManager = m_resourceManager;
params.m_threadSlot = m_resourceManager->guiThreadSlot();
params.m_renderContext = m_primaryContext;
- params.m_skinName = "basic.skn";
- params.m_density = graphics::EDensityMDPI;
m_primaryScreen = make_shared_ptr(new graphics::Screen(params));
}