GPUTexture: Extend CUBE_MAP_ARRAY_ARB proxy workaround to all Apple gpus

Related to T79716
This commit is contained in:
Clément Foucault 2020-08-18 14:01:14 +02:00 committed by Jeroen Bakker
parent 38ae241020
commit 7369a24f61
Notes: blender-bot 2023-10-13 01:54:23 +02:00
Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
1 changed files with 1 additions and 1 deletions

View File

@ -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();