diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-03-19 16:15:22 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:13:00 +0300 |
commit | 7ca007b8b0f27f71837405b828631a4859e0abde (patch) | |
tree | ebca051a2fbfeea0dfbeda66faf2de0d832ba172 /drape_head/testing_engine.cpp | |
parent | 24ce4227f5ac80d90b4ecef4124ca6b3903a17c3 (diff) |
[drape] texture manager.
load external png files
map shape get texture manager in draw method. By this shape will get texture block and put it into uniforms
Diffstat (limited to 'drape_head/testing_engine.cpp')
-rw-r--r-- | drape_head/testing_engine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drape_head/testing_engine.cpp b/drape_head/testing_engine.cpp index 0b0b527c2d..fd636e8ee9 100644 --- a/drape_head/testing_engine.cpp +++ b/drape_head/testing_engine.cpp @@ -114,7 +114,7 @@ namespace df params1.m_color = Color(255, 255, 50, 255); params1.m_width = 80.f; df::LineShape * line1 = new df::LineShape(linePoints1, 0.0f, params1); - line1->Draw(m_batcher.GetRefPointer()); + line1->Draw(m_batcher.GetRefPointer(), MakeStackRefPointer<TextureManager>(NULL)); // //2 @@ -133,7 +133,7 @@ namespace df params2.m_color = Color(0, 255, 255, 255); params2.m_width = 50.f; df::LineShape * line2 = new df::LineShape(linePoints2, 0.0f, params2); - line2->Draw(m_batcher.GetRefPointer()); + line2->Draw(m_batcher.GetRefPointer(), MakeStackRefPointer<TextureManager>(NULL)); // //3 @@ -152,7 +152,7 @@ namespace df params3.m_color = Color(255, 0, 255, 255); params3.m_width = 60.f; df::LineShape * line3 = new df::LineShape(linePoints3, 0.0f, params3); - line3->Draw(m_batcher.GetRefPointer()); + line3->Draw(m_batcher.GetRefPointer(), MakeStackRefPointer<TextureManager>(NULL)); // } |