diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-18 15:01:14 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-08-26 11:56:33 +0300 |
commit | 7369a24f61cdf7afe0d930a422b6839919bc3b6d (patch) | |
tree | 22d6c02b47150e0e8a78cdc3c2a1826ad3f1e59f | |
parent | 38ae24102003654b1e7073dd77c4ef38e0ff8b67 (diff) |
GPUTexture: Extend CUBE_MAP_ARRAY_ARB proxy workaround to all Apple gpus
Related to T79716
-rw-r--r-- | source/blender/gpu/intern/gpu_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c index a86b4e7be4e..8843ce473e5 100644 --- a/source/blender/gpu/intern/gpu_texture.c +++ b/source/blender/gpu/intern/gpu_texture.c @@ -673,7 +673,7 @@ static bool gpu_texture_check_capacity( GPUTexture *tex, GLenum proxy, GLenum internalformat, GLenum data_format, GLenum data_type) { if (proxy == GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB && - GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_MAC, GPU_DRIVER_ANY)) { + GPU_type_matches(GPU_DEVICE_ANY, GPU_OS_MAC, GPU_DRIVER_ANY)) { /* Special fix for T79703. */ /* Depth has already been checked. */ return tex->w <= GPU_max_cube_map_size(); |