• Niklas Haas's avatar
    dav1dplay: don't freeze on render errors · df40d36d
    Niklas Haas authored
    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.