From e27f33062994a1b0155b44b9d471e48e93b09f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Thu, 7 Mar 2019 17:50:02 +0100 Subject: [core] add texture bindings to draw call instead of Context member fn --- src/mbgl/renderer/renderer_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mbgl/renderer/renderer_impl.cpp') diff --git a/src/mbgl/renderer/renderer_impl.cpp b/src/mbgl/renderer/renderer_impl.cpp index d66ba1767e..e3346a39a5 100644 --- a/src/mbgl/renderer/renderer_impl.cpp +++ b/src/mbgl/renderer/renderer_impl.cpp @@ -375,8 +375,8 @@ void Renderer::Impl::render(const UpdateParameters& updateParameters) { { MBGL_DEBUG_GROUP(parameters.context, "upload"); - parameters.imageManager.upload(parameters.context, 0); - parameters.lineAtlas.upload(parameters.context, 0); + parameters.imageManager.upload(parameters.context); + parameters.lineAtlas.upload(parameters.context); // Update all clipping IDs + upload buckets. for (const auto& entry : renderSources) { -- cgit v1.2.1