update to winit 0.23 api

This commit is contained in:
aentity 2020-09-27 13:05:20 -07:00
parent 4f2962d73f
commit 159e8a6abc
5 changed files with 13 additions and 10 deletions

View file

@ -61,7 +61,7 @@ impl Window {
self,
title: &str,
mode: Mode,
primary_monitor: MonitorHandle,
primary_monitor: Option<MonitorHandle>,
) -> WindowBuilder {
let mut window_builder = WindowBuilder::new();