diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2018-08-03 13:16:59 +0300 |
---|---|---|
committer | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2018-08-06 14:09:53 +0300 |
commit | 704fd74d8d709f643d38266e1b484c16a441fb8b (patch) | |
tree | 09b594294973956482178ec173f27d899112ecd8 /drape_frontend/user_mark_shapes.cpp | |
parent | c43305029839d5c7c9ab2eeed370e56bd777cc41 (diff) |
Removed glConst from render state and texture
Diffstat (limited to 'drape_frontend/user_mark_shapes.cpp')
-rw-r--r-- | drape_frontend/user_mark_shapes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drape_frontend/user_mark_shapes.cpp b/drape_frontend/user_mark_shapes.cpp index 91b04ed6bf..359be7c04f 100644 --- a/drape_frontend/user_mark_shapes.cpp +++ b/drape_frontend/user_mark_shapes.cpp @@ -414,7 +414,7 @@ void CacheUserMarks(TileKey const & tileKey, ref_ptr<dp::TextureManager> texture state.SetProgram3d(isAnimated ? gpu::Program::BookmarkAnimBillboard : gpu::Program::BookmarkBillboard); state.SetColorTexture(region.GetTexture()); - state.SetTextureFilter(gl_const::GLNearest); + state.SetTextureFilter(dp::TextureFilter::Nearest); state.SetDepthTestEnabled(depthTestEnabled); dp::AttributeProvider attribProvider(1, static_cast<uint32_t>(buffer.size())); |