mesa/main: clean up ES2_compatibility check
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 15 Nov 2018 17:40:26 +0000 (18:40 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 3 Dec 2018 17:16:44 +0000 (18:16 +0100)
commit5109742e7be2ba8c53fafd14e895cc9f0a8dd10c
tree64371cb692a1fb788f806ddc6d20e7514305450b
parent2e753b77ddb0854d455c3cae826ae4412a64c3eb
mesa/main: clean up ES2_compatibility check

This makes the logic a little bit easier to follow; this is *either*
about ES2 compatibility *or* about gles. GL_RGB565 was added already in
OpenGL ES 1.0.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/glformats.c