Skip to content

Commit

Permalink
Disable buffer compaction (#6339)
Browse files Browse the repository at this point in the history
Fixes #6320.
  • Loading branch information
kazcw authored Apr 18, 2023
1 parent 84f64be commit 9125568
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rust/ensogl/core/src/system/gpu/data/attribute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ impl {
pub fn update(&mut self) {
debug_span!("Updating.").in_scope(|| {
if self.used_size * 2 < self.size() {
self.shrink_to_fit();
// FIXME (#6340)
//self.shrink_to_fit();
}
if self.shape_dirty.check() {
for i in 0..self.buffers.len() {
Expand Down

0 comments on commit 9125568

Please sign in to comment.