render: add extra flush when returning cpu frame

This commit is contained in:
itsmattkc
2022-07-09 21:46:02 -07:00
parent 13a0da537f
commit 3963797dee
+2
View File
@@ -121,6 +121,8 @@ FramePtr RenderProcessor::GenerateFrame(TexturePtr texture, const rational& time
texture = blit_tex;
}
render_ctx_->Flush();
render_ctx_->DownloadFromTexture(texture.get(), frame->data(), frame->linesize_pixels());
}