mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-21 14:48: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.index_count = idx.len();
|
||||
|
||||
self.vertex_buffer.invalidate();
|
||||
self.index_buffer.invalidate();
|
||||
// self.vertex_buffer.invalidate();
|
||||
// self.index_buffer.invalidate();
|
||||
|
||||
if self.vertex_count == 0 || self.index_count == 0 {
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue