From 212d270b4e42680cbc5609443b6a0d06c9e6eabb Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Fri, 16 Nov 2018 11:15:33 +0100 Subject: mesa/main: require EXT_texture_sRGB for gles3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/mesa/main/version.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 && -- cgit v1.2.3