diff options
-rw-r--r-- | libvo/w32_common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c index 7c60f2d301..a0ffd9fb98 100644 --- a/libvo/w32_common.c +++ b/libvo/w32_common.c @@ -391,6 +391,9 @@ static int createRenderingContext(void) { * \return 1 - Success, 0 - Failure */ int vo_w32_config(uint32_t width, uint32_t height, uint32_t flags) { + // we already have a fully initialized window, so nothing needs to be done + if (flags & VOFLAG_HIDDEN) + return; // store original size for videomode switching o_dwidth = width; o_dheight = height; |