diff options
author | Dudemanguy <random342@airmail.cc> | 2023-11-06 15:27:03 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-11-07 00:52:46 +0000 |
commit | cf69fa03ca5c5dae0db79c6c96b148088180936a (patch) | |
tree | ace1ed8f42f6f4bcab6c48e47eb8204e07053bc5 /video/out/drm_common.c | |
parent | bd4bf6e3836a11733bbebc70002187b2f2ee37ae (diff) | |
download | mpv-cf69fa03ca5c5dae0db79c6c96b148088180936a.tar.bz2 mpv-cf69fa03ca5c5dae0db79c6c96b148088180936a.tar.xz |
vo: replace max swapchain depth magic number
Diffstat (limited to 'video/out/drm_common.c')
-rw-r--r-- | video/out/drm_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/drm_common.c b/video/out/drm_common.c index cc53757e43..2b68bac2ff 100644 --- a/video/out/drm_common.c +++ b/video/out/drm_common.c @@ -1030,7 +1030,7 @@ bool vo_drm_init(struct vo *vo) drm->ev.version = DRM_EVENT_CONTEXT_VERSION; drm->ev.page_flip_handler = &drm_pflip_cb; - drm->present = mp_present_initialize(drm, 8); // max swapchain depth allowed + drm->present = mp_present_initialize(drm, VO_MAX_SWAPCHAIN_DEPTH); return true; |