summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_drm_egl.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/context_drm_egl.c')
-rw-r--r--video/out/opengl/context_drm_egl.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/video/out/opengl/context_drm_egl.c b/video/out/opengl/context_drm_egl.c
index 875a781fb6..6962237123 100644
--- a/video/out/opengl/context_drm_egl.c
+++ b/video/out/opengl/context_drm_egl.c
@@ -54,16 +54,9 @@ struct framebuffer
uint32_t id;
};
-struct vsync_tuple
-{
- uint64_t ust;
- unsigned int msc;
- unsigned int sbc;
-};
-
struct gbm_frame {
struct gbm_bo *bo;
- struct vsync_tuple vsync;
+ struct drm_vsync_tuple vsync;
};
struct gbm
@@ -106,7 +99,7 @@ struct priv {
bool still;
bool paused;
- struct vsync_tuple vsync;
+ struct drm_vsync_tuple vsync;
struct vo_vsync_info vsync_info;
struct mpv_opengl_drm_params_v2 drm_params;