Fix T79158: Eevee cubemaps shows black

Same as T75943 that was fixed by rBff97545c50f4
This commit is contained in:
Germano Cavalcante 2020-07-23 08:37:25 -03:00
parent 634585aa68
commit 65aba4fc7a
Notes: blender-bot 2023-02-14 08:38:11 +01:00
Referenced by issue #79158, Intel (R) HD graphics 4400 also has the problem of cubemaps shows black
1 changed files with 2 additions and 1 deletions

View File

@ -350,7 +350,8 @@ void gpu_extensions_init(void)
/* Intel Ivy Bridge GPU's seems to have buggy cube-map array support. (see T75943) */
if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_WIN, GPU_DRIVER_OFFICIAL) &&
(strstr(renderer, "HD Graphics 4000") || strstr(renderer, "HD Graphics 2500"))) {
(strstr(renderer, "HD Graphics 4000") || strstr(renderer, "HD Graphics 4400") ||
strstr(renderer, "HD Graphics 2500"))) {
GG.glew_arb_texture_cube_map_array_is_supported = false;
}