[Mesa-dev] [PATCH kmscube] texturator: Use !! for boolean assignment
Fabio Estevam
festevam at gmail.com
Wed Apr 1 01:52:06 UTC 2020
Hi Jason and Ian,
On Tue, Mar 31, 2020 at 5:39 PM Jason Ekstrand <jason at jlekstrand.net> wrote:
> My feelings aren't usually all that strong on this point though I
> generally prefer !=. That said, this is a float. I very strongly
> prefer != 0.0f.
Thanks for the feedback. I did as suggested:
https://gitlab.freedesktop.org/festevam/kmscube/-/commit/4660a7dca6512b6e658759d00cff7d4ad2a2059d
and sent Rob a merge request.
Thanks
More information about the mesa-dev
mailing list