Skip to content

Commit

Permalink
[D3D12] Remove weird device->Release
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Feb 26, 2025
1 parent 29a27b2 commit 24ebf02
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ static inline UINT64 GetRequiredIntermediateSize(ID3D12Resource *destinationReso
D3D12_RESOURCE_DESC desc = destinationResource->GetDesc();
UINT64 requiredSize = 0;
device->GetCopyableFootprints(&desc, FirstSubresource, NumSubresources, 0, NULL, NULL, NULL, &requiredSize);
device->Release();
return requiredSize;
}

Expand Down

0 comments on commit 24ebf02

Please sign in to comment.