diff --git a/Backends/Graphics5/Direct3D12/Sources/kinc/backend/graphics5/texture.c.h b/Backends/Graphics5/Direct3D12/Sources/kinc/backend/graphics5/texture.c.h index 9c77b6580..f992a40ae 100644 --- a/Backends/Graphics5/Direct3D12/Sources/kinc/backend/graphics5/texture.c.h +++ b/Backends/Graphics5/Direct3D12/Sources/kinc/backend/graphics5/texture.c.h @@ -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; }