From f5d7ac64c863415aafcdd389a58d0004d7b4439c Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Fri, 26 Nov 2010 23:26:16 +0100 Subject: [PATCH] Fixed win32 opengl provider. CommonDisplay() must be called at least once to ensure that the window content is shown. --- modules/video_output/msw/glwin32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/video_output/msw/glwin32.c b/modules/video_output/msw/glwin32.c index c6173b8c31..f807bfeb0a 100644 --- a/modules/video_output/msw/glwin32.c +++ b/modules/video_output/msw/glwin32.c @@ -199,6 +199,8 @@ static int Control(vout_display_t *vd, int query, va_list args) case VOUT_DISPLAY_GET_OPENGL: { vout_opengl_t **gl = va_arg(args, vout_opengl_t **); *gl = &vd->sys->gl; + + CommonDisplay(vd); return VLC_SUCCESS; } default: -- 2.11.4.GIT