From: Erik Faye-Lund Date: Fri, 16 Nov 2018 10:15:33 +0000 (+0100) Subject: mesa/main: require EXT_texture_sRGB for gles3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=212d270b4e42680cbc5609443b6a0d06c9e6eabb;p=mesa.git mesa/main: require EXT_texture_sRGB for gles3 sRGB textures is a requirement for OpenGL ES 3.0, so let's make sure we don't incorrectly enable a too high version. Signed-off-by: Erik Faye-Lund Reviewed-by: Marek Olšák --- diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index b3c68bb865c..210caad097e 100644 --- a/src/mesa/main/version.c +++ b/src/mesa/main/version.c @@ -517,6 +517,7 @@ compute_version_es2(const struct gl_extensions *extensions, extensions->EXT_packed_float && extensions->EXT_texture_array && extensions->EXT_texture_shared_exponent && + extensions->EXT_texture_sRGB && extensions->EXT_transform_feedback && extensions->ARB_draw_instanced && extensions->ARB_uniform_buffer_object &&