From 7d7483352911f2e7f4ae9c19855669a5880246e9 Mon Sep 17 00:00:00 2001 From: Rasmus Michelsen Date: Wed, 15 Apr 2020 01:01:26 +0200 Subject: [PATCH] Reinserted call to position_centered() --- src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.rs b/src/window.rs index b7c7149..effa6f8 100644 --- a/src/window.rs +++ b/src/window.rs @@ -135,6 +135,7 @@ impl WindowWrapper { let window = video_subsystem .window("Neovide", logical_size.width, logical_size.height) + .position_centered() .allow_highdpi() .resizable() .vulkan() @@ -142,7 +143,6 @@ impl WindowWrapper { .expect("Failed to create window"); info!("window created"); - let skulpin_renderer = RendererBuilder::new() .prefer_integrated_gpu() .use_vulkan_debug_layer(true)