bevy/examples/shader
Henry Sloan 8e08e26c25 Update commented vsync code in example to use present_mode (#4926)
# 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.
2022-06-04 20:00:01 +00:00
..
animate_shader.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
compute_shader_game_of_life.rs Update commented vsync code in example to use present_mode (#4926) 2022-06-04 20:00:01 +00:00
custom_vertex_attribute.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
shader_defs.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
shader_instancing.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
shader_material_glsl.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
shader_material_screenspace_texture.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
shader_material.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00