X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvertexsetup.cpp;h=2a3b2f1a7d920aa5a5a1200dd4df646ca1d195c6;hb=22f0f95981f17524587f5f2c5e3e91005240ddb7;hp=53f825697b34b16444e783cfb32262361d10fc4f;hpb=a1c39449fccf03ec08787bf51d62bf3b4cb60f69;p=libs%2Fgl.git diff --git a/source/vertexsetup.cpp b/source/vertexsetup.cpp index 53f82569..2a3b2f1a 100644 --- a/source/vertexsetup.cpp +++ b/source/vertexsetup.cpp @@ -130,6 +130,9 @@ void VertexSetup::bind() const if(set_current(this)) { + vertex_array->refresh(); + if(inst_array) + inst_array->refresh(); glBindVertexArray(id); if(dirty) {