mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-22 07:08:42 -06:00
do not invalidate buffers
This commit is contained in:
parent
52bfab6135
commit
aafb219b6b
|
@ -95,8 +95,8 @@ impl BufferPair {
|
||||||
self.vertex_count = vtx.len();
|
self.vertex_count = vtx.len();
|
||||||
self.index_count = idx.len();
|
self.index_count = idx.len();
|
||||||
|
|
||||||
self.vertex_buffer.invalidate();
|
// self.vertex_buffer.invalidate();
|
||||||
self.index_buffer.invalidate();
|
// self.index_buffer.invalidate();
|
||||||
|
|
||||||
if self.vertex_count == 0 || self.index_count == 0 {
|
if self.vertex_count == 0 || self.index_count == 0 {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue