![]() # Objective
- To fix the broken commented code in `examples/shader/compute_shader_game_of_life.rs` for disabling frame throttling
## Solution
- Change the commented code from using the old `WindowDescriptor::vsync` to the new `WindowDescriptor::present_mode`
### Note
I chose to use the fully qualified scope `bevy:🪟:PresentWindow::Immediate` rather than explicitly including `PresentWindow` to avoid an unused import when the code is commented.
|
||
---|---|---|
.. | ||
animate_shader.rs | ||
compute_shader_game_of_life.rs | ||
custom_vertex_attribute.rs | ||
shader_defs.rs | ||
shader_instancing.rs | ||
shader_material_glsl.rs | ||
shader_material_screenspace_texture.rs | ||
shader_material.rs |