| 72 | {} |
| 73 | |
| 74 | void WaitIdle::CustomRenderContext::wait_frame() |
| 75 | { |
| 76 | // POI |
| 77 | // |
| 78 | // If wait idle is enabled, wait using vkDeviceWaitIdle |
| 79 | |
| 80 | vkb::rendering::RenderFrameC &frame = get_active_frame(); |
| 81 | |
| 82 | if (wait_idle_enabled) |
| 83 | { |
| 84 | get_device().wait_idle(); |
| 85 | } |
| 86 | |
| 87 | frame.reset(); |
| 88 | } |
| 89 | |
| 90 | void WaitIdle::draw_gui() |
| 91 | { |