diff options
author | Gert Wollny <[email protected]> | 2018-11-14 11:06:30 +0100 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2019-01-28 12:18:40 +0100 |
commit | 1013dfece1cffa38e9faf6a0fec7fd10711fcb58 (patch) | |
tree | d53d33700e088a8399b13fed4e5e6dcbb7e4b189 /src/mesa/main/version.c | |
parent | 76c3f6fb3ff21e9cbe40345b6215ead1771b449b (diff) |
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 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/version.c')
-rw-r--r-- | src/mesa/main/version.c | 4 |
1 files 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 && |