Fix puck rendering behavior Android (#2957)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user