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_frontend/area_shape.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_frontend/area_shape.cpp')
-rw-r--r-- | drape_frontend/area_shape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drape_frontend/area_shape.cpp b/drape_frontend/area_shape.cpp index c18d319176..4ea16fff74 100644 --- a/drape_frontend/area_shape.cpp +++ b/drape_frontend/area_shape.cpp @@ -19,7 +19,7 @@ namespace df m_vertexes.push_back(Point3D(v3.x, v3.y, m_depth)); } - void AreaShape::Draw(RefPointer<Batcher> batcher) const + void AreaShape::Draw(RefPointer<Batcher> batcher, RefPointer<TextureManager> /*textures*/) const { GLState state(gpu::SOLID_AREA_PROGRAM, 0); float r, g, b, a; |