do not invalidate buffers

This commit is contained in:
griffi-gh 2024-03-01 20:49:34 +01:00
parent 52bfab6135
commit aafb219b6b

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