renderer: clear texture upon creation

This commit is contained in:
itsmattkc
2021-09-29 02:41:37 -07:00
parent 8b3ea8c421
commit 3a1c9233b9
+1
View File
@@ -156,6 +156,7 @@ void RenderProcessor::Run()
// Return GPU texture // Return GPU texture
if (!texture) { if (!texture) {
texture = render_ctx_->CreateTexture(GetCacheVideoParams()); texture = render_ctx_->CreateTexture(GetCacheVideoParams());
render_ctx_->ClearDestination(texture.get());
} }
render_ctx_->Flush(); render_ctx_->Flush();