Skip to contentSkip to conversation

xl: ignore opengl unless sdl is enabled

PATCH New Jeremy Fitzhardinge 1 participant 1 message May 7, 2010

lore
Share & tools
lore
#0 lore raw

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.

tools/libxl/libxl.c +1 -1
diff -r fbd06034bd92 tools/libxl/libxl.c
@@ -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");