mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-02-06 00:39:54 +00:00
Remove useless Flush() call
This commit is contained in:
parent
abf4ab42a0
commit
a9b7fd7fa3
@ -333,10 +333,6 @@ namespace platf::dxgi {
|
||||
device_ctx->PSSetShaderResources(0, 1, &img_ctx.encoder_input_res);
|
||||
device_ctx->Draw(3, 0);
|
||||
|
||||
// Artifacts start appearing on the rendered image if Sunshine doesn't flush
|
||||
// before rendering on the UV part of the image.
|
||||
device_ctx->Flush();
|
||||
|
||||
device_ctx->OMSetRenderTargets(1, &nv12_UV_rt, nullptr);
|
||||
device_ctx->VSSetShader(convert_UV_vs.get(), nullptr, 0);
|
||||
device_ctx->PSSetShader(convert_UV_ps.get(), nullptr, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user