diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2015-08-19 22:39:52 +0300 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-21 00:01:01 +0200 |
commit | 3245bfefc3803904f5aeade0b3e60cd504ccb16c (patch) | |
tree | 02f1cd0d32f4470396438c44a828a1e863088b89 /video/out/vo_opengl.c | |
parent | b144da63a890dfebf6fd4f1d7bfefa6dcac1f7aa (diff) | |
download | mpv-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.c | 3 |
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); |