[Bf-blender-cvs] [9052c6fafa8] draw-colormanagement: Fix crash when selecting in edit mode with eevee

Clément Foucault noreply at git.blender.org
Tue Feb 11 15:10:21 CET 2020


Commit: 9052c6fafa87654c9a45ce0d5b9ecee073ec1a5b
Author: Clément Foucault
Date:   Tue Feb 11 14:52:42 2020 +0100
Branches: draw-colormanagement
https://developer.blender.org/rB9052c6fafa87654c9a45ce0d5b9ecee073ec1a5b

Fix crash when selecting in edit mode with eevee

===================================================================

M	source/blender/gpu/intern/gpu_texture.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c
index 49f0cbedb54..ccafc785526 100644
--- a/source/blender/gpu/intern/gpu_texture.c
+++ b/source/blender/gpu/intern/gpu_texture.c
@@ -51,7 +51,7 @@ static struct GPUTextureGlobal {
 } GG = {NULL, NULL, NULL};
 
 /* Maximum number of FBOs a texture can be attached to. */
-#define GPU_TEX_MAX_FBO_ATTACHED 10
+#define GPU_TEX_MAX_FBO_ATTACHED 12
 
 typedef enum eGPUTextureFormatFlag {
   GPU_FORMAT_DEPTH = (1 << 0),



More information about the Bf-blender-cvs mailing list