Merge pull request #542 from aentity/winit_023

update to winit 0.23 api
This commit is contained in:
Héctor Ramón 2020-10-08 03:55:02 +02:00 committed by GitHub
commit 2e0ba65a20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 25 deletions

View file

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