do not invalidate buffers

This commit is contained in:
griffi-gh 2024-03-01 20:49:34 +01:00
parent 80282780d5
commit 1d48a386cb

View file

@ -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