Fixed erroneous README.md example code

This commit is contained in:
Charles Giessen 2020-02-17 13:43:58 -07:00
parent 38076c4f53
commit fb3a7c4689

View File

@ -51,7 +51,7 @@ void device_init()
}
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()){
//error
}