From a8d5a82a7f4b341b32b8d7b9c1cf429338a0ec43 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Wed, 8 Feb 2023 10:14:43 +0100 Subject: [PATCH] Lowe multisampling in examples from 8 to 4 Closes https://github.com/emilk/egui/issues/2658 --- examples/custom_3d_glow/src/main.rs | 2 +- examples/custom_3d_three-d/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/custom_3d_glow/src/main.rs b/examples/custom_3d_glow/src/main.rs index f214f4b9..dfca8c20 100644 --- a/examples/custom_3d_glow/src/main.rs +++ b/examples/custom_3d_glow/src/main.rs @@ -9,7 +9,7 @@ use std::sync::Arc; fn main() -> Result<(), eframe::Error> { let options = eframe::NativeOptions { initial_window_size: Some(egui::vec2(350.0, 380.0)), - multisampling: 8, + multisampling: 4, renderer: eframe::Renderer::Glow, ..Default::default() }; diff --git a/examples/custom_3d_three-d/src/main.rs b/examples/custom_3d_three-d/src/main.rs index e1a5b942..b43ca35f 100644 --- a/examples/custom_3d_three-d/src/main.rs +++ b/examples/custom_3d_three-d/src/main.rs @@ -7,7 +7,7 @@ use eframe::egui; fn main() -> Result<(), eframe::Error> { let options = eframe::NativeOptions { initial_window_size: Some(egui::vec2(550.0, 610.0)), - multisampling: 8, + multisampling: 4, renderer: eframe::Renderer::Glow, depth_buffer: 24, ..Default::default()