[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxl: Disable opengl if info->opengl == 0 (correct sense of test)
# HG changeset patch # User Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> # Date 1282238144 -3600 # Node ID aab4938edd9c61f00c68d28daf477014a8d0a2a1 # Parent a2dd0f1b1c609d521b1a3740cdc9f0b3ea20e697 libxl: Disable opengl if info->opengl == 0 (correct sense of test) Disable opengl if info->opengl == 0 Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tools/libxl/libxl.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r a2dd0f1b1c60 -r aab4938edd9c tools/libxl/libxl.c --- a/tools/libxl/libxl.c Thu Aug 19 18:13:01 2010 +0100 +++ b/tools/libxl/libxl.c Thu Aug 19 18:15:44 2010 +0100 @@ -1129,7 +1129,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"); } } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |