[Bf-blender-cvs] [2a907bea9ce] blender2.8: Fix assert when toggling Xray mode after going to Solid and lookedev/eevee
Clément Foucault
noreply at git.blender.org
Mon Sep 10 18:05:39 CEST 2018
Commit: 2a907bea9cef6fa7450afaff3bf5eb25e3d214c0
Author: Clément Foucault
Date: Mon Sep 10 16:27:01 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB2a907bea9cef6fa7450afaff3bf5eb25e3d214c0
Fix assert when toggling Xray mode after going to Solid and lookedev/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 2ccc9f10269..98362abfbfd 100644
--- a/source/blender/gpu/intern/gpu_texture.c
+++ b/source/blender/gpu/intern/gpu_texture.c
@@ -55,7 +55,7 @@ static struct GPUTextureGlobal {
} GG = {NULL, NULL, NULL};
/* Maximum number of FBOs a texture can be attached to. */
-#define GPU_TEX_MAX_FBO_ATTACHED 8
+#define GPU_TEX_MAX_FBO_ATTACHED 9
typedef enum GPUTextureFormatFlag {
GPU_FORMAT_DEPTH = (1 << 0),
More information about the Bf-blender-cvs
mailing list