summaryrefslogtreecommitdiffstats
path: root/video/out/w32_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-02 18:09:13 +0200
committerwm4 <wm4@nowhere>2015-10-02 18:10:58 +0200
commitfe993a67123f3e7bf8c92d7b38545ffc2aba79ed (patch)
tree2fe6271e161d12a76ff21b747c40e61170f8c5af /video/out/w32_common.c
parent69bc7e34b9ce6a8be6731a42a00a01a120194a41 (diff)
downloadmpv-fe993a67123f3e7bf8c92d7b38545ffc2aba79ed.tar.bz2
mpv-fe993a67123f3e7bf8c92d7b38545ffc2aba79ed.tar.xz
vo_opengl: w32: switch to new internal API
Diffstat (limited to 'video/out/w32_common.c')
-rw-r--r--video/out/w32_common.c8
1 files changed, 1 insertions, 7 deletions
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;