Commit e0c33c3c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

gl: initialize fullscreen state correctly

parent 4c11fc9f
...@@ -152,6 +152,11 @@ static int Open (vlc_object_t *obj) ...@@ -152,6 +152,11 @@ static int Open (vlc_object_t *obj)
if (sys->vgl == NULL) if (sys->vgl == NULL)
goto error; goto error;
bool fs = vd->cfg->is_fullscreen;
if (vout_window_SetFullScreen (sys->gl->surface, fs))
fs = false;
vout_display_SendEventFullscreen (vd, fs);
vd->sys = sys; vd->sys = sys;
vd->info.has_pictures_invalid = false; vd->info.has_pictures_invalid = false;
vd->info.has_event_thread = false; vd->info.has_event_thread = false;
......
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