mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-06 13:29:45 -05:00
backend/drm: don't set vsync present flag if page flip was async
(cherry picked from commit 08495d2596)
This commit is contained in:
parent
b4bec0cd3a
commit
89e1ea130d
2 changed files with 7 additions and 2 deletions
|
|
@ -164,6 +164,8 @@ struct wlr_drm_page_flip {
|
|||
struct wl_list link; // wlr_drm_connector.page_flips
|
||||
struct wlr_drm_page_flip_connector *connectors;
|
||||
size_t connectors_len;
|
||||
// True if DRM_MODE_PAGE_FLIP_ASYNC was set
|
||||
bool async;
|
||||
};
|
||||
|
||||
struct wlr_drm_page_flip_connector {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue