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

mute warning when building for wasm

This commit is contained in:
Emil Ernerfeldt
2022-04-30 17:47:30 +02:00
parent 51f6cd9c58
commit 051deb293f

View File

@@ -96,6 +96,7 @@ pub struct WrapApp {
impl WrapApp {
pub fn new(cc: &eframe::CreationContext<'_>) -> Self {
#[allow(unused_mut)]
let mut slf = Self {
state: State::default(),
custom3d: crate::apps::Custom3d::new(&cc.gl),