Skip to content

Commit

Permalink
Fix puck rendering behavior Android (#2957)
Browse files Browse the repository at this point in the history
  • Loading branch information
alasram authored Nov 4, 2024
1 parent 286f9d0 commit a5b0059
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mbgl/gl/drawable_gl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ void DrawableGL::draw(PaintParameters& parameters) const {
context.draw(glSeg.getMode(), mlSeg.indexOffset, mlSeg.indexLength);
}
}

#ifndef NDEBUG
// 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();
unbindUniformBuffers();
#endif
Expand Down

0 comments on commit a5b0059

Please sign in to comment.