mesa/main: fix inverted condition
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 17 Jun 2020 21:50:06 +0000 (23:50 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 18 Jun 2020 17:07:14 +0000 (17:07 +0000)
commit747e808697c56dcabc76ae7bae350e4552af12e3
tree0afd4e389165c30f89d0f74d8f07442fdabd03bf
parent4bc5110eea2fbed10badf0ea70b1787f24499288
mesa/main: fix inverted condition

I accidentally got one of the conditions wrong here. Sorry for the
mixup.

See ttps://gitlab.freedesktop.org/mesa/mesa/-/issues/3134 for details.

Fixes: b112e62ba48 ("mesa/main: do not allow MESA_ycbcr_texture enums on gles")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5532>
src/mesa/main/glformats.c