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')
-rw-r--r--qt_tstfrm/gui_test_widget.hpp2
-rw-r--r--qt_tstfrm/tstwidgets.cpp4
2 files changed, 1 insertions, 5 deletions
diff --git a/qt_tstfrm/gui_test_widget.hpp b/qt_tstfrm/gui_test_widget.hpp
index 24ffe14241..3e1ffb6747 100644
--- a/qt_tstfrm/gui_test_widget.hpp
+++ b/qt_tstfrm/gui_test_widget.hpp
@@ -55,11 +55,9 @@ public:
cp.m_threadSlot = 0;
cp.m_storageType = graphics::ETinyStorage;
cp.m_textureType = graphics::ESmallTexture;
- cp.m_skinName = "basic.skn";
cp.m_isSynchronized = false;
cp.m_resourceManager = base_t::m_resourceManager;
cp.m_renderContext = base_t::m_primaryContext;
- cp.m_density = graphics::EDensityMDPI;
m_cacheScreen = make_shared_ptr(new graphics::Screen(cp));
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));
}