diff options
author | Erik Faye-Lund <[email protected]> | 2018-11-15 16:15:41 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-12-03 18:16:44 +0100 |
commit | 27ca87cccaf32a2abea002d924933135daaf664c (patch) | |
tree | 1f7a2b11169fd4e2543f03b99027fff0bcce9830 /.dir-locals.el | |
parent | d70cfb322a0fa0893e0d56e5a9441b96e8a474b7 (diff) |
mesa/main: do not allow s3tc enums on gles1
There's no extension enabling S3TC formats on OpenGL ES 1.x, so we
shouldn't allow these even if the driver can support it. So let's check
for EXT_texture_compression_s3tc instead of ANGLE_texture_compression_dxt,
which is supported on all other OpenGL variations.
We also need to use _mesa_has_EXT_texture_compression_s3tc() instead of
checking the driver cap directly, otherwise we end up enabling this on
OpenGL ES 1.x, as the API isn't checked.
Signed-off-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions