Flush after setting up the wl_surface_frame callback

This commit is contained in:
Cameron Gutman committed 2026-11-15 00:39:54 -06:00
1 parent 2d2872b4a3
commit bcdd0a2c63
1 file changed
+1
@@ -50,6 +50,7 @@ bool WaylandVsyncSource::initialize(SDL_Window* window, int)
m_Callback = wl_surface_frame(m_Surface);
wl_callback_add_listener(m_Callback, &s_FrameListener, this);
wl_surface_commit(m_Surface);
wl_display_flush(m_Display);
return true;
}