[Mesa-dev] [PATCH 27/30] mesa/main: require EXT_texture_sRGB for gles3

Erik Faye-Lund erik.faye-lund at collabora.com
Mon Nov 19 12:15:03 UTC 2018


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 <erik.faye-lund at collabora.com>
---
 src/mesa/main/version.c | 1 +
 1 file changed, 1 insertion(+)

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 &&
-- 
2.19.1



More information about the mesa-dev mailing list