xl: ignore opengl unless sdl is enabled
PATCH 1/1 xl: ignore opengl unless sdl is enabled
The "opengl" setting is documented as having no effect unless "sdl" is set. Make sure this is honoured.
Signed-off-by Jeremy Fitzhardinge <[email protected]>
tools/libxl/libxl.c +1 -1
@@ -819,7 +819,7 @@flexarray_set (dm_args, num++,"-vncunused" ); } } -if (info->sdl || info->opengl) { +if (info->sdl) {flexarray_set (dm_args, num++,"-sdl" );if (info->opengl) {flexarray_set (dm_args, num++,"-disable-opengl" );