From 22892955553e86b393dd6e6d74b2b13690c1d36b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Thu, 14 Oct 2021 18:16:22 +0200 Subject: GPUTexture: Fix assert when using stereo viewport with EEVEE Stereo viewport means the depth buffer is use twice as often as a framebuffer attachment. --- source/blender/gpu/intern/gpu_texture_private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpu/intern/gpu_texture_private.hh') diff --git a/source/blender/gpu/intern/gpu_texture_private.hh b/source/blender/gpu/intern/gpu_texture_private.hh index 26be6f57312..19d83366e6f 100644 --- a/source/blender/gpu/intern/gpu_texture_private.hh +++ b/source/blender/gpu/intern/gpu_texture_private.hh @@ -66,7 +66,7 @@ ENUM_OPERATORS(eGPUTextureType, GPU_TEXTURE_CUBE_ARRAY) #endif /* Maximum number of FBOs a texture can be attached to. */ -#define GPU_TEX_MAX_FBO_ATTACHED 16 +#define GPU_TEX_MAX_FBO_ATTACHED 32 /** * Implementation of Textures. -- cgit v1.2.3