mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-29 02:18:40 -06:00
do not invalidate buffers
This commit is contained in:
parent
80282780d5
commit
1d48a386cb
|
@ -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