whoops, it's a pure function

This commit is contained in:
Alula 2020-10-29 23:47:21 +01:00
parent b1186ec4be
commit a80058b141
No known key found for this signature in database
GPG Key ID: 3E00485503A1D8BA
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ impl GraphicsContextGeneric<GlBackendSpec> {
.with_inner_size(window_size)
.with_resizable(window_mode.resizable);
#[cfg(target_os = "windows")]
window_builder.with_drag_and_drop(false);
windows_builder = window_builder.with_drag_and_drop(false);
window_builder = if !window_setup.icon.is_empty() {
let icon = load_icon(window_setup.icon.as_ref(), filesystem)?;