diff options
author | wm4 <wm4@nowhere> | 2015-10-02 18:09:13 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-10-02 18:10:58 +0200 |
commit | fe993a67123f3e7bf8c92d7b38545ffc2aba79ed (patch) | |
tree | 2fe6271e161d12a76ff21b747c40e61170f8c5af /video/out/w32_common.c | |
parent | 69bc7e34b9ce6a8be6731a42a00a01a120194a41 (diff) | |
download | mpv-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.c | 8 |
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; |