hello-tool: use make_owned for one queue
This commit is contained in:
parent
05e53b9161
commit
c44192d5d9
@ -291,8 +291,7 @@ main (void)
|
||||
return v;
|
||||
});
|
||||
|
||||
auto _graphics_queue = ldevice.queue (graphics_queue_id);
|
||||
auto graphics_queue = &_graphics_queue;
|
||||
auto graphics_queue = cruft::vk::make_owned<cruft::vk::queue> (ldevice, graphics_queue_id, 0);
|
||||
auto present_queue = ldevice.queue (present_queue_id);
|
||||
|
||||
auto vert_module = create_shader (ldevice, "./hello.vert.spv");
|
||||
|
Loading…
Reference in New Issue
Block a user