VB: indicate refresh when usage changes

This commit is contained in:
Kirill Vainer 2016-04-03 16:55:06 -04:00
parent a82b9a4a3d
commit a1fd3ff3d9

View File

@ -522,6 +522,7 @@ public class VertexBuffer extends NativeObject implements Savable, Cloneable {
// throw new UnsupportedOperationException("Data has already been sent. Cannot set usage."); // throw new UnsupportedOperationException("Data has already been sent. Cannot set usage.");
this.usage = usage; this.usage = usage;
this.setUpdateNeeded();
} }
/** /**