Add vulkan creation from resources
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 21m47s

This commit is contained in:
Florian RICHER 2025-04-13 18:45:33 +02:00
parent 4f6216635f
commit e2616a0ef5
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
8 changed files with 281 additions and 13 deletions

View file

@ -1,6 +1,7 @@
use crate::core::{
app::App,
window::{self, config::WindowConfig},
vulkan::Vulkan,
window::{Window, config::WindowConfig},
};
pub fn init(app: &mut App) {
@ -10,5 +11,6 @@ pub fn init(app: &mut App) {
height: 600,
};
window::init(app, window_config);
Window::new(app, window_config).unwrap();
Vulkan::new(app).unwrap();
}