Skip to content

Commit

Permalink
Another fix to replace_buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
dfellis committed Nov 7, 2024
1 parent 4f9eaea commit 5a94996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alan_std/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ pub fn replace_buffer<T>(b: &GBuffer, v: &Vec<T>) -> Result<(), AlanError> {
.create_command_encoder(&wgpu::CommandEncoderDescriptor { label: None });
encoder.copy_buffer_to_buffer(&gb, 0, b, 0, b.size());
g.queue.submit(Some(encoder.finish()));
gb.unmap();
gb.destroy();
Ok(())
}
}

0 comments on commit 5a94996

Please sign in to comment.