summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2015-08-19 22:39:52 +0300
committerwm4 <wm4@nowhere>2015-08-21 00:01:01 +0200
commit3245bfefc3803904f5aeade0b3e60cd504ccb16c (patch)
tree02f1cd0d32f4470396438c44a828a1e863088b89 /video/out/vo_opengl.c
parentb144da63a890dfebf6fd4f1d7bfefa6dcac1f7aa (diff)
downloadmpv-3245bfefc3803904f5aeade0b3e60cd504ccb16c.tar.bz2
mpv-3245bfefc3803904f5aeade0b3e60cd504ccb16c.tar.xz
gl_wayland: eglSwapInterval(0) to avoid blocking
This makes mesa not wait for frame callback internally.
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r--video/out/vo_opengl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index 76276ccfe0..6fb4206fc4 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -169,9 +169,6 @@ static void draw_frame(struct vo *vo, struct vo_frame *frame)
struct gl_priv *p = vo->priv;
GL *gl = p->gl;
- if (p->glctx->start_frame && !p->glctx->start_frame(p->glctx))
- return;
-
p->frame_started = true;
gl_video_render_frame(p->renderer, frame, 0);