diff --git a/src/main.rs b/src/main.rs index 569d710..864bb6b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1059,6 +1059,7 @@ impl framework::Example for GlobalState { ) .copy_from_slice(bytemuck::cast_slice(&camera_uniforms)); //This code only needs to run when the uniforms change + /* for model in self.graphics.models.iter() { let model_uniforms = get_instances_buffer_data(&model.instances); self.graphics.staging_belt @@ -1071,6 +1072,7 @@ impl framework::Example for GlobalState { ) .copy_from_slice(bytemuck::cast_slice(&model_uniforms)); } + */ self.graphics.staging_belt.finish(); {