Fix puck rendering behavior Android (#2957)

This commit is contained in:
alasram
2024-11-04 10:06:09 -08:00
committed by GitHub
parent 286f9d0adc
commit a5b0059636

View File

@@ -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