diff --git a/src/mbgl/gl/drawable_gl.cpp b/src/mbgl/gl/drawable_gl.cpp index c335cebd1..f2f9e2cfe 100644 --- a/src/mbgl/gl/drawable_gl.cpp +++ b/src/mbgl/gl/drawable_gl.cpp @@ -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 segments) {