Begin implement Vertex
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 4m25s
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 4m25s
This commit is contained in:
parent
84666db1d8
commit
a1961cff05
10 changed files with 105 additions and 18 deletions
|
@ -29,7 +29,7 @@ impl VkRenderContext {
|
|||
let instance = Arc::new(VkInstance::new(&required_extensions));
|
||||
let surface = Arc::new(VkSurface::new(&window, instance.clone())?);
|
||||
|
||||
let mut physical_devices = instance.get_physical_devices();
|
||||
let mut physical_devices = VkInstance::get_physical_devices(&instance);
|
||||
physical_devices.sort_by(|a, b| b.priority().cmp(&a.priority()));
|
||||
|
||||
let (physical_device, queue_family_index, properties) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue