Commit c8574792 authored by Laurent Aimar's avatar Laurent Aimar Committed by Jean-Baptiste Kempf

Fixed win32 opengl provider.

CommonDisplay() must be called at least once to ensure that the window
content is shown.
(cherry picked from commit f5d7ac64c863415aafcdd389a58d0004d7b4439c)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b9676bdf
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment