|
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
[Prev in Thread] | Current Thread | [Next in Thread] |