wayland no refresh

This commit is contained in:
Jorijn van der Graaf 2026-03-09 21:32:16 +01:00
commit 6d031bacbe

View file

@ -725,6 +725,10 @@ void Window::Render() {
Device::CheckVkResult(result); Device::CheckVkResult(result);
} }
Device::CheckVkResult(vkQueueWaitIdle(Device::queue)); Device::CheckVkResult(vkQueueWaitIdle(Device::queue));
#ifdef CRAFTER_GRAPHICS_WINDOW_WAYLAND
wl_surface_commit(surface);
wl_surface_damage(surface, 0, 0, 10000, 100000);
#endif
#endif #endif
} }