diff options
author | wm4 <wm4@nowhere> | 2015-08-22 21:05:32 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-22 21:05:32 +0200 |
commit | 1e4113040c533278f61f66e56e817aba5958f380 (patch) | |
tree | dfddc36b21a0e82ebd2b768166524c95af29a7bd /video/out/vo_opengl.c | |
parent | 0e2024ef2b4a9926156e138f58ec7d6f4db88a74 (diff) | |
download | mpv-1e4113040c533278f61f66e56e817aba5958f380.tar.bz2 mpv-1e4113040c533278f61f66e56e817aba5958f380.tar.xz |
vo_opengl: remove dead code
Leftover from 3245bfef.
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r-- | video/out/vo_opengl.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c index 6fb4206fc4..6c42531629 100644 --- a/video/out/vo_opengl.c +++ b/video/out/vo_opengl.c @@ -77,8 +77,6 @@ struct gl_priv { char *backend; int es; - bool frame_started; - int frames_rendered; unsigned int prev_sgi_sync_count; @@ -124,12 +122,6 @@ static void flip_page(struct vo *vo) struct gl_priv *p = vo->priv; GL *gl = p->gl; - if (!p->frame_started) { - vo_increment_drop_count(vo, 1); - return; - } - p->frame_started = false; - mpgl_swap_buffers(p->glctx); p->frames_rendered++; @@ -169,7 +161,6 @@ static void draw_frame(struct vo *vo, struct vo_frame *frame) struct gl_priv *p = vo->priv; GL *gl = p->gl; - p->frame_started = true; gl_video_render_frame(p->renderer, frame, 0); // The playloop calls this last before waiting some time until it decides |