Skip to contentSkip to conversation

libxl: Disable opengl if info->opengl == 0

PATCH New Stefano Stabellini 1 participant 1 message Aug 18, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxl: Disable opengl if info->opengl == 0

Disable opengl if info->opengl == 0

tools/libxl/libxl.c +1 -1
diff -r 6bd04080ab99 tools/libxl/libxl.c
@@ -1104,7 +1104,7 @@ static char ** libxl_build_device_model_
     }
     if (info->sdl) {
         flexarray_set(dm_args, num++, "-sdl");
-        if (info->opengl) {
+        if (!info->opengl) {
             flexarray_set(dm_args, num++, "-disable-opengl");
         }
     }