qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 1/2] qapi: Parameter gl of DisplayType now ac


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH v2 1/2] qapi: Parameter gl of DisplayType now accept an enum
Date: Tue, 10 Apr 2018 14:38:55 +0200
User-agent: NeoMutt/20180323

> -    if (dpy.has_gl && dpy.gl && display_opengl == 0) {
> +    if (dpy.has_gl && !dpy.gl == DISPLAYGL_MODE_OFF && display_opengl == 0) {

That should be "... && !(dpy.gl == DISPLAYGL_MODE_OFF) && ..." to work
correctly.  Or just "dpy.gl != DISPLAYGL_MODE_OFF" ...

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]