1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 22:00:03 -04:00

Hide console on windows for all examples in release builds (#1008)

This commit is contained in:
Emil Ernerfeldt
2021-12-30 22:43:53 +01:00
committed by GitHub
parent 4ef21380a2
commit 753d709d3d
7 changed files with 16 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
//! Example how to use pure `egui_glow` without [`epi`].
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release
fn create_display(
event_loop: &glutin::event_loop::EventLoop<()>,
) -> (