projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
487010a
)
mesa/main: require EXT_texture_sRGB for gles3
author
Erik Faye-Lund
<erik.faye-lund@collabora.com>
Fri, 16 Nov 2018 10:15:33 +0000
(11:15 +0100)
committer
Erik Faye-Lund
<erik.faye-lund@collabora.com>
Mon, 3 Dec 2018 17:16:44 +0000
(18:16 +0100)
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@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/version.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/version.c
b/src/mesa/main/version.c
index b3c68bb865c3c3b5c5cd2a629d48b0ea9476e74b..210caad097e0b70121e8424f35a2c1affaee8835 100644
(file)
--- 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 &&