diff options
Diffstat (limited to 'video/out/vo_opengl_old.c')
-rw-r--r-- | video/out/vo_opengl_old.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/video/out/vo_opengl_old.c b/video/out/vo_opengl_old.c index 96472d02f2..30a0467d46 100644 --- a/video/out/vo_opengl_old.c +++ b/video/out/vo_opengl_old.c @@ -2264,12 +2264,6 @@ static int preinit(struct vo *vo, const char *arg) if (!config_window(vo, 320, 200, VOFLAG_HIDDEN)) goto err_out; autodetectGlExtensions(vo); - // We created a window to test whether the GL context supports hardware - // acceleration and so on. Destroy that window to make sure all state - // associated with it is lost. - uninitGl(vo); - if (!mpgl_destroy_window(p->glctx)) - goto err_out; } if (p->many_fmts) mp_msg(MSGT_VO, MSGL_INFO, "[gl] using extended formats. " |