mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Cleanup
This commit is contained in:
parent
c14c7a5874
commit
d2b2abc827
4
.idea/runConfigurations/Build_mapr__WASM_.xml
generated
4
.idea/runConfigurations/Build_mapr__WASM_.xml
generated
@ -8,9 +8,7 @@
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="withSudo" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs>
|
||||
<env name="RUSTFLAGS" value="--cfg=web_sys_unstable_apis" />
|
||||
</envs>
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
|
||||
15
src/lib.rs
15
src/lib.rs
@ -1,6 +1,3 @@
|
||||
use winit::event_loop::EventLoop;
|
||||
use winit::window::WindowBuilder;
|
||||
|
||||
mod fps_meter;
|
||||
mod platform;
|
||||
mod render;
|
||||
@ -9,15 +6,3 @@ mod setup;
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
mod web;
|
||||
|
||||
fn main() {
|
||||
env_logger::init_from_env(env_logger::Env::default().default_filter_or("info"));
|
||||
|
||||
let event_loop = EventLoop::new();
|
||||
let window = WindowBuilder::new()
|
||||
.with_title("A fantastic window!")
|
||||
.build(&event_loop)
|
||||
.unwrap();
|
||||
|
||||
pollster::block_on(setup::setup(window, event_loop));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user