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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user