summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r--video/out/vo_opengl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index aa3c3cea0a..baaad18381 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -1672,12 +1672,6 @@ static void check_events(struct vo *vo)
struct gl_priv *p = vo->priv;
int e = p->glctx->check_events(vo);
- if (e & VO_EVENT_REINIT) {
- uninit_gl(p);
- init_gl(p);
- init_video(p);
- resize(p);
- }
if (e & VO_EVENT_RESIZE)
resize(p);
if (e & VO_EVENT_EXPOSE)