From f46b9a375a56239171b15111d32882a64b07360f Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Fri, 7 Sep 2018 12:06:52 +0300 Subject: [drape][metal] Refactored vertex array buffer and context usage. --- drape_frontend/user_mark_shapes.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'drape_frontend/user_mark_shapes.hpp') diff --git a/drape_frontend/user_mark_shapes.hpp b/drape_frontend/user_mark_shapes.hpp index 05881cf678..90b48c82ff 100644 --- a/drape_frontend/user_mark_shapes.hpp +++ b/drape_frontend/user_mark_shapes.hpp @@ -83,11 +83,11 @@ using TUserMarksRenderData = std::vector; void ProcessSplineSegmentRects(m2::SharedSpline const & spline, double maxSegmentLength, std::function const & func); -void CacheUserMarks(TileKey const & tileKey, ref_ptr textures, - kml::MarkIdCollection const & marksId, UserMarksRenderCollection & renderParams, - dp::Batcher & batcher); +void CacheUserMarks(ref_ptr context, TileKey const & tileKey, + ref_ptr textures, kml::MarkIdCollection const & marksId, + UserMarksRenderCollection & renderParams, dp::Batcher & batcher); -void CacheUserLines(TileKey const & tileKey, ref_ptr textures, - kml::TrackIdCollection const & linesId, UserLinesRenderCollection & renderParams, - dp::Batcher & batcher); +void CacheUserLines(ref_ptr context, TileKey const & tileKey, + ref_ptr textures, kml::TrackIdCollection const & linesId, + UserLinesRenderCollection & renderParams, dp::Batcher & batcher); } // namespace df -- cgit v1.2.3