Commit b8dc2568 authored by Laurent Aimar's avatar Laurent Aimar

Updated sdl to use new VOUT_DISPLAY_CHANGE_DISPLAY_SIZE parameter.

parent d00aca23
......@@ -477,8 +477,10 @@ static int Control(vout_display_t *vd, int query, va_list args)
case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE: {
const vout_display_cfg_t *cfg = va_arg(args, const vout_display_cfg_t *);
const bool is_forced = (bool)va_arg(args, int);
/* */
if (is_forced)
sys->display = SDL_SetVideoMode(cfg->display.width,
cfg->display.height,
sys->display_bpp, sys->display_flags);
......
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