Add vulkan creation from resources
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 21m47s
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 21m47s
This commit is contained in:
parent
4f6216635f
commit
e2616a0ef5
8 changed files with 281 additions and 13 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue