From 8d73cd8c5242108adc58fe867bcbfd84a27a775e Mon Sep 17 00:00:00 2001 From: Alex Cristici Date: Tue, 29 Jul 2025 14:21:21 +0300 Subject: [PATCH] Fix dashed line issue when style change (#3675) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- src/mbgl/gl/drawable_gl.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mbgl/gl/drawable_gl.cpp b/src/mbgl/gl/drawable_gl.cpp index c335cebd1..f2f9e2cfe 100644 --- a/src/mbgl/gl/drawable_gl.cpp +++ b/src/mbgl/gl/drawable_gl.cpp @@ -74,10 +74,8 @@ void DrawableGL::draw(PaintParameters& parameters) const { // Unbind the VAO so that future buffer commands outside Drawable do not change the current VAO state context.bindVertexArray = value::BindVertexArray::Default; -#ifndef NDEBUG unbindTextures(); impl->uniformBuffers.unbind(); -#endif } void DrawableGL::setIndexData(gfx::IndexVectorBasePtr indexes, std::vector segments) {