mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-12-02 02:34:15 +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);
|
m_Callback = wl_surface_frame(m_Surface);
|
||||||
wl_callback_add_listener(m_Callback, &s_FrameListener, this);
|
wl_callback_add_listener(m_Callback, &s_FrameListener, this);
|
||||||
wl_surface_commit(m_Surface);
|
wl_surface_commit(m_Surface);
|
||||||
|
wl_display_flush(m_Display);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user