mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-11-27 16:24:29 +00:00
Flush after setting up the wl_surface_frame callback
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user