mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-26 08:44:36 +00:00
Fixed erroneous README.md example code
This commit is contained in:
parent
38076c4f53
commit
fb3a7c4689
@ -51,7 +51,7 @@ void device_init()
|
|||||||
}
|
}
|
||||||
vkb::Device device = dev_ret.value();
|
vkb::Device device = dev_ret.value();
|
||||||
|
|
||||||
auto graphics_queue_ret = get_graphics_queue(device).value();
|
auto graphics_queue_ret = vkb::get_graphics_queue(device);
|
||||||
if (!graphics_queue_ret.has_value()){
|
if (!graphics_queue_ret.has_value()){
|
||||||
//error
|
//error
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user