diff options
author | Niklas Haas <git@haasn.xyz> | 2020-05-20 08:01:47 +0300 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2020-05-20 08:08:04 +0300 |
commit | df40d36d84fbdd3aae827b36d1a15739efb9225b (patch) | |
tree | 93f2afe6f0d3d2a3a981bbd9c99427cf33f82455 /src/internal.h | |
parent | dd1ed29bd0e8069b2cd18b059e44d4288c218989 (diff) |
dav1dplay: don't freeze on render errors0.7.0
Returning out of this function when pl_render_image() fails is the wrong
thing to do, since that leaves the swapchain frame acquired but never
submitted. Instead, just clear the target FBO to blank red (to make it
clear that something went wrong) and continue on with presentation.
Diffstat (limited to 'src/internal.h')
0 files changed, 0 insertions, 0 deletions