Commit 58e53b9c authored by Marian Durkovic's avatar Marian Durkovic

Declarations before code

parent 5870262c
......@@ -1584,13 +1584,15 @@ static void ToggleFullScreen ( vout_thread_t *p_vout )
else
#endif
{
/* The window wasn't necessarily created at the requested size */
p_vout->p_sys->p_win->i_x = p_vout->p_sys->p_win->i_y = 0;
#ifdef HAVE_XF86VIDMODE
XF86VidModeModeLine mode;
int i_dummy;
#endif
/* The window wasn't necessarily created at the requested size */
p_vout->p_sys->p_win->i_x = p_vout->p_sys->p_win->i_y = 0;
#ifdef HAVE_XF86VIDMODE
if( XF86VidModeGetModeLine( p_vout->p_sys->p_display,
p_vout->p_sys->i_screen, &i_dummy,
&mode ) )
......
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