summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl_old.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_opengl_old.c')
-rw-r--r--video/out/vo_opengl_old.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/out/vo_opengl_old.c b/video/out/vo_opengl_old.c
index 0f286dc72a..96472d02f2 100644
--- a/video/out/vo_opengl_old.c
+++ b/video/out/vo_opengl_old.c
@@ -1771,10 +1771,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) {
- uninitGl(vo);
- initGl(vo, vo->dwidth, vo->dheight);
- }
if (e & VO_EVENT_RESIZE)
resize(vo, vo->dwidth, vo->dheight);
if (e & VO_EVENT_EXPOSE)