mirror of
https://github.com/lisk77/comet.git
synced 2025-10-23 21:38:50 +00:00
fix: finally removed the storage.rsin the comet_ecs
This commit is contained in:
parent
7b6ccbe72c
commit
cae678747f
8 changed files with 45 additions and 10 deletions
|
|
@ -4,7 +4,7 @@ use std::sync::atomic::AtomicBool;
|
|||
use std::thread;
|
||||
use std::time::{Duration, Instant};
|
||||
use crossbeam_channel::bounded;
|
||||
use comet_ecs::{Camera2D, Component, ComponentSet, Entity, Render, Render2D, Transform2D, Transform3D, World};
|
||||
use comet_ecs::{Camera2D, Component, Entity, Render, Render2D, Transform2D, Transform3D, World};
|
||||
use comet_resources::{ResourceManager, Vertex};
|
||||
use comet_renderer::renderer2d::Renderer2D;
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ impl App {
|
|||
fn load_icon(path: &std::path::Path) -> Option<Icon> {
|
||||
let image = match image::open(path) {
|
||||
Ok(image) => image,
|
||||
Err(e) => {
|
||||
Err(_) => {
|
||||
error!("Failed loading icon {}", path.display());
|
||||
return None;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue