[Bf-blender-cvs] [fb1463ff2bc] blender2.8: GPUFramebuffer: Fix assert triggering another assert.
Clément Foucault
noreply at git.blender.org
Fri Mar 30 23:34:04 CEST 2018
Commit: fb1463ff2bc707b00223c913c6a9e4f35ba94fd4
Author: Clément Foucault
Date: Fri Mar 30 20:15:03 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBfb1463ff2bc707b00223c913c6a9e4f35ba94fd4
GPUFramebuffer: Fix assert triggering another assert.
===================================================================
M source/blender/gpu/intern/gpu_framebuffer.c
===================================================================
diff --git a/source/blender/gpu/intern/gpu_framebuffer.c b/source/blender/gpu/intern/gpu_framebuffer.c
index e016ab358e2..27408ff9c25 100644
--- a/source/blender/gpu/intern/gpu_framebuffer.c
+++ b/source/blender/gpu/intern/gpu_framebuffer.c
@@ -616,7 +616,7 @@ void GPU_framebuffer_recursive_downsample(
}
}
- BLI_assert(GPU_framebuffer_check_valid(fb, NULL));
+ BLI_assert(GL_FRAMEBUFFER_COMPLETE == glCheckFramebufferStatus(GL_FRAMEBUFFER));
glViewport(0, 0, current_dim[0], current_dim[1]);
callback(userData, i);
More information about the Bf-blender-cvs
mailing list