diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 16bb1b9328..9221f86c73 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -993,7 +993,6 @@ query_format(uint32_t format) static void uninit(void) { - if (!vo_config_count) return; uninitGl(); if (custom_prog) free(custom_prog); custom_prog = NULL;