VB: indicate refresh when usage changes
This commit is contained in:
parent
a82b9a4a3d
commit
a1fd3ff3d9
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user