diff options
author | Erik Faye-Lund <[email protected]> | 2018-11-16 11:15:33 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-12-03 18:16:44 +0100 |
commit | 212d270b4e42680cbc5609443b6a0d06c9e6eabb (patch) | |
tree | 663ea502eaf0961610cdc869f4455e9f5a3e889b /src/mesa/main | |
parent | 487010a0998ca7363f32678206c6be7b1dfaead4 (diff) |
mesa/main: require EXT_texture_sRGB for gles3
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 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/version.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 && |