Browse Source

Example: three-d downgrade depth_buffer to 24 bit (#1950)

Closes: #1949
pull/1962/head
Daniel Buch Hansen 2 years ago
committed by GitHub
parent
commit
4629f2cd12
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/custom_3d_three-d/src/main.rs

2
examples/custom_3d_three-d/src/main.rs

@ -9,7 +9,7 @@ fn main() {
initial_window_size: Some(egui::vec2(550.0, 610.0)),
multisampling: 8,
renderer: eframe::Renderer::Glow,
depth_buffer: 32,
depth_buffer: 24,
..Default::default()
};
eframe::run_native(

Loading…
Cancel
Save