diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-10-25 12:24:17 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-10-25 13:01:10 +0200 |
commit | 69003457b30b20e34c6bfcb75cd8f0b45c28a77c (patch) | |
tree | 969f4c1220d5313dc27b3fd94822a3bec7f4dd28 /servers/audio/effects/reverb.cpp | |
parent | 2869c13ba2f1ce2b17f30b611eb1eb7f0fa4a472 (diff) |
WebGL 2.0: Force decompressing non power-of-2 textures with repeat/mipmap
While OpenGL ES 3.0 and WebGL 2.0 both support non power-of-2 (NPOT)
textures in their specification, the situation seems to be less clear
about *compressed* NPOT textures using repeat or mipmap flags.
At least Chrome on Linux doesn't seem to support this combination,
and a variety of mobile hardware have similar limitations.
As a workaround, we force decompressing such textures when running on
WebGL 2.0, at the cost of loading time and memory usage.
Fixes #33058.
Diffstat (limited to 'servers/audio/effects/reverb.cpp')
0 files changed, 0 insertions, 0 deletions