mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
GPUTexture: Extend CUBE_MAP_ARRAY_ARB proxy workaround to all Apple gpus
Related to T79716
This commit is contained in:
parent
6df4b00f5f
commit
aba46371a1
1 changed files with 1 additions and 1 deletions
|
|
@ -678,7 +678,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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue