diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-03-30 21:15:03 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-03-30 21:15:03 +0300 |
commit | fb1463ff2bc707b00223c913c6a9e4f35ba94fd4 (patch) | |
tree | 5e3a302ca12b255a90cee5303c2097692cb813d9 /source | |
parent | ab9adf9cdc3b2fd91dcade32ea4b4359f4897392 (diff) |
GPUFramebuffer: Fix assert triggering another assert.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/gpu/intern/gpu_framebuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |