diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2022-10-22 03:51:52 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2022-10-22 03:51:52 +0300 |
commit | ea571ddc29e4e7be441a9b58bef50190a4a35c04 (patch) | |
tree | 3f15c9ea85408541b8158e0d07a987c07211ad4c /source/blender/blenkernel/intern/image_format.cc | |
parent | 04eab0fd01e8c416ce45c95b9e32db4e0ff03d7b (diff) |
Fix T101969: Crash when using large texture with nonstandard colorspace
When the image colorspace is not data, linear or sRGB, the image will
be converted to float (and colorspace-converted) during loading.
However, if it also needs to be rescaled (due to exceeding the GPU
texture size limit), the resizing assumed that it's still a byte
texture.
Diffstat (limited to 'source/blender/blenkernel/intern/image_format.cc')
0 files changed, 0 insertions, 0 deletions