mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
mute warning when building for wasm
This commit is contained in:
@@ -96,6 +96,7 @@ pub struct WrapApp {
|
|||||||
|
|
||||||
impl WrapApp {
|
impl WrapApp {
|
||||||
pub fn new(cc: &eframe::CreationContext<'_>) -> Self {
|
pub fn new(cc: &eframe::CreationContext<'_>) -> Self {
|
||||||
|
#[allow(unused_mut)]
|
||||||
let mut slf = Self {
|
let mut slf = Self {
|
||||||
state: State::default(),
|
state: State::default(),
|
||||||
custom3d: crate::apps::Custom3d::new(&cc.gl),
|
custom3d: crate::apps::Custom3d::new(&cc.gl),
|
||||||
|
|||||||
Reference in New Issue
Block a user