Commit f5d7ac64 authored by Laurent Aimar's avatar Laurent Aimar

Fixed win32 opengl provider.

CommonDisplay() must be called at least once to ensure that the window
content is shown.
parent e7d25830
......@@ -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