mirror of https://github.com/AxioDL/metaforce.git
Cleanup lib.rs imports
This commit is contained in:
parent
8286f006cf
commit
d84f71f9dc
|
@ -3,17 +3,9 @@
|
||||||
#![allow(unused_variables)]
|
#![allow(unused_variables)]
|
||||||
#![allow(unused_unsafe)]
|
#![allow(unused_unsafe)]
|
||||||
|
|
||||||
use std::{
|
use std::time::Instant;
|
||||||
collections::{BTreeMap, HashMap},
|
|
||||||
time::Instant,
|
|
||||||
};
|
|
||||||
|
|
||||||
use cxxbridge::ffi;
|
use cxxbridge::ffi;
|
||||||
use sdl2::{
|
|
||||||
controller::{Axis, Button, GameController},
|
|
||||||
event::Event as SDLEvent,
|
|
||||||
GameControllerSubsystem, Sdl,
|
|
||||||
};
|
|
||||||
use wgpu::Backend;
|
use wgpu::Backend;
|
||||||
use winit::{
|
use winit::{
|
||||||
event::{ElementState, Event, KeyboardInput, VirtualKeyCode, WindowEvent},
|
event::{ElementState, Event, KeyboardInput, VirtualKeyCode, WindowEvent},
|
||||||
|
@ -23,10 +15,7 @@ use winit::{
|
||||||
use crate::{
|
use crate::{
|
||||||
gpu::{create_depth_texture, create_render_texture, initialize_gpu, DeviceHolder},
|
gpu::{create_depth_texture, create_render_texture, initialize_gpu, DeviceHolder},
|
||||||
imgui::{initialize_imgui, ImGuiState},
|
imgui::{initialize_imgui, ImGuiState},
|
||||||
sdl::{
|
sdl::{initialize_sdl, poll_sdl_events, SdlState},
|
||||||
get_controller_player_index, initialize_sdl, poll_sdl_events, remap_controller_layout,
|
|
||||||
set_controller_player_index, SdlState,
|
|
||||||
},
|
|
||||||
shaders::render_into_pass,
|
shaders::render_into_pass,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue