Fix dashed line issue when style change (#3675)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Alex Cristici
2025-07-29 14:21:21 +03:00
committed by GitHub
parent 8e7c52b9b9
commit 8d73cd8c52

View File

@@ -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<UniqueDrawSegment> segments) {