switch to prefering the discrete gpu

macos-click-through
Keith Simmons 4 years ago
parent 36e3040b2d
commit 5c6d84a4f1

@ -451,7 +451,7 @@ pub fn start_loop(
let skulpin_renderer = { let skulpin_renderer = {
let sdl_window_wrapper = Sdl2Window::new(&sdl_window); let sdl_window_wrapper = Sdl2Window::new(&sdl_window);
RendererBuilder::new() RendererBuilder::new()
.prefer_integrated_gpu() .prefer_discrete_gpu()
.use_vulkan_debug_layer(false) .use_vulkan_debug_layer(false)
.present_mode_priority(vec![PresentMode::Immediate]) .present_mode_priority(vec![PresentMode::Immediate])
.coordinate_system(CoordinateSystem::Logical) .coordinate_system(CoordinateSystem::Logical)

Loading…
Cancel
Save