diff options
author | Richard Antalik <richardantalik@gmail.com> | 2019-04-01 00:52:47 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2019-04-01 00:52:47 +0300 |
commit | b936d7b16c627963d99c4dce0ab9319a748503f3 (patch) | |
tree | d61f243137882e9ecbf8b19f4edaeb9acc3fad84 /source/blender/editors/space_sequencer/sequencer_draw.c | |
parent | a41008964c76014246417b045bd543a44397b3ca (diff) |
Fix T62996
Reviewers
Brecht Van Lommel (brecht)
Clément Foucault (fclem)
Differential revision: https://developer.blender.org/D4618
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_draw.c')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_draw.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index ea6d4cf69be..7bd19287e29 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -987,7 +987,9 @@ ImBuf *sequencer_ibuf_get( ibuf = BKE_sequencer_give_ibuf_threaded(&context, cfra + frame_ofs, sseq->chanshown); } - GPU_framebuffer_bind(fb); + if (fb) { + GPU_framebuffer_bind(fb); + } /* restore state so real rendering would be canceled (if needed) */ G.is_break = is_break; |