From fe993a67123f3e7bf8c92d7b38545ffc2aba79ed Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 2 Oct 2015 18:09:13 +0200 Subject: vo_opengl: w32: switch to new internal API --- video/out/w32_common.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'video/out/w32_common.c') diff --git a/video/out/w32_common.c b/video/out/w32_common.c index 905fb42141..4c7df7d6c2 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -1059,12 +1059,6 @@ static void gui_thread_reconfig(void *ptr) struct vo *vo = w32->vo; - // we already have a fully initialized window, so nothing needs to be done - if (flags & VOFLAG_HIDDEN) { - *res = 1; - return; - } - struct vo_win_geometry geo; vo_calc_window_geometry(vo, &w32->screenrc, &geo); vo_apply_window_geometry(vo, &geo); @@ -1107,7 +1101,7 @@ static void gui_thread_reconfig(void *ptr) *res = reinit_window_state(w32); } -// Resize the window. On the first non-VOFLAG_HIDDEN call, it's also made visible. +// Resize the window. On the first call, it's also made visible. int vo_w32_config(struct vo *vo, uint32_t flags) { struct vo_w32_state *w32 = vo->w32; -- cgit v1.2.3