debuggers.hg

changeset 22094:aab4938edd9c

libxl: Disable opengl if info->opengl == 0 (correct sense of test)

Disable opengl if info->opengl == 0

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Stefano Stabellini <stefano.stabellini@eu.citrix.com>
date Thu Aug 19 18:15:44 2010 +0100 (2010-08-19)
parents a2dd0f1b1c60
children f68726cdf357
files tools/libxl/libxl.c
line diff
     1.1 --- a/tools/libxl/libxl.c	Thu Aug 19 18:13:01 2010 +0100
     1.2 +++ b/tools/libxl/libxl.c	Thu Aug 19 18:15:44 2010 +0100
     1.3 @@ -1129,7 +1129,7 @@ static char ** libxl_build_device_model_
     1.4      }
     1.5      if (info->sdl) {
     1.6          flexarray_set(dm_args, num++, "-sdl");
     1.7 -        if (info->opengl) {
     1.8 +        if (!info->opengl) {
     1.9              flexarray_set(dm_args, num++, "-disable-opengl");
    1.10          }
    1.11      }