From 1013dfece1cffa38e9faf6a0fec7fd10711fcb58 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Wed, 14 Nov 2018 11:06:30 +0100 Subject: [PATCH] mesa/main/version: Lower the requirements for GLES 3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit GLES 3.0 does not actually require support for EXT_framebuffer_sRGB, it only needs support for sRGB attachments to framebuffers and framebuffer objects as defined in ARB_framebuffer_objects. v2: Clarify that ARB_framebuffer_objects is needed. Signed-off-by: Gert Wollny Reviewed-by: Marek Olšák --- src/mesa/main/version.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index fb5e816db32..5f004ff1dab 100644 --- a/src/mesa/main/version.c +++ b/src/mesa/main/version.c @@ -514,8 +514,8 @@ compute_version_es2(const struct gl_extensions *extensions, extensions->OES_texture_half_float_linear && extensions->ARB_texture_rg && extensions->ARB_depth_buffer_float && - /* extensions->ARB_framebuffer_object && */ - extensions->EXT_framebuffer_sRGB && + extensions->ARB_framebuffer_object && + extensions->EXT_sRGB && extensions->EXT_packed_float && extensions->EXT_texture_array && extensions->EXT_texture_shared_exponent && -- 2.30.2