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:
authorExMix <rahuba.youri@mapswithme.com>2015-02-14 17:20:10 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-11-30 16:04:03 +0300
commitf32047a95b937ef37d04b9a64bdaddd9d0f44f5d (patch)
treeb48ebbcc6ceee264bd8abfd8600b0d8230efe194 /drape_head
parentc5764b66a314988c57635705fa16b1059d0fd88e (diff)
[drape] port on windows
Diffstat (limited to 'drape_head')
-rw-r--r--drape_head/testing_engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drape_head/testing_engine.cpp b/drape_head/testing_engine.cpp
index 228dabc3c7..0aa1b55f01 100644
--- a/drape_head/testing_engine.cpp
+++ b/drape_head/testing_engine.cpp
@@ -257,9 +257,9 @@ TestingEngine::TestingEngine(dp::RefPointer<dp::OGLContextFactory> oglcontextfac
: m_contextFactory(oglcontextfactory)
, m_viewport(viewport)
{
- GLFunctions::Init();
- df::VisualParams::Init(vs, df::CalculateTileSize(viewport.GetWidth(), viewport.GetHeight()));
m_contextFactory->getDrawContext()->makeCurrent();
+ df::VisualParams::Init(vs, df::CalculateTileSize(viewport.GetWidth(), viewport.GetHeight()));
+ GLFunctions::Init();
dp::TextureManager::Params params;
params.m_resPrefix = VisualParams::Instance().GetResourcePostfix();