mesa/main: fix up _mesa_has_rg_textures for gles2
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 4 Dec 2018 11:34:39 +0000 (12:34 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 4 Dec 2018 20:14:26 +0000 (21:14 +0100)
commit91af56e3835bbc17f5b110ac472724cd0986503c
treed2c41503f487e80a47a6d47a66b2120c46cb1372
parent5bf38bfb64791e2021c813d069b995ed62ff7d09
mesa/main: fix up _mesa_has_rg_textures for gles2

rg-textures are supported in GLES 2.0 if EXT_texture_rg, so let's make
sure the enums are accepted.

Fixes: 510b6424607 "mesa/main: do not allow rg-textures enums before gles3"
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108936
Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Tested-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/context.h