From: Gert Wollny Date: Wed, 14 Nov 2018 10:06:30 +0000 (+0100) Subject: mesa/main/version: Lower the requirements for GLES 3.0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1013dfece1cffa38e9faf6a0fec7fd10711fcb58;p=mesa.git mesa/main/version: Lower the requirements for GLES 3.0 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 --- 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 &&