]> git.tdb.fi Git - libs/gl.git/blobdiff - source/mesh.cpp
Allow applying a VertexArray in non-legacy mode
[libs/gl.git] / source / mesh.cpp
index 3e9e118ac52e6a9eb40b47345cce0f9692d9b140..869ea671faeed0493ca4109dce4d27cddd1647e2 100644 (file)
@@ -183,7 +183,7 @@ void Mesh::bind() const
        if(!vao_id)
        {
                unbind();
-               vertices.apply();
+               vertices.apply(false);
        }
        else if(set_current(this))
        {