mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-10-09 05:21:26 +00:00
Just in case added output check to UpscaleEnd
This commit is contained in:
1 parent
8e2e944117
commit
f08115a50e
1 file changed
+3
@@ -266,6 +266,9 @@ void UpscalerInputsDx12::UpscaleEnd(ID3D12GraphicsCommandList* InCmdList, NVSDK_
|
||||
if (InParameters->Get(NVSDK_NGX_Parameter_Output, &output) != NVSDK_NGX_Result_Success)
|
||||
InParameters->Get(NVSDK_NGX_Parameter_Output, (void**) &output);
|
||||
|
||||
if (output == nullptr)
|
||||
return;
|
||||
|
||||
ResourceInfo info {};
|
||||
auto desc = output->GetDesc();
|
||||
info.buffer = output;
|
||||
|
||||
Reference in new issue
Block a user