mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-06 05:06:14 +01:00
functions taking std::function should not be noexcept
This commit is contained in:
@@ -1058,7 +1058,7 @@ HRESULT DirectX::SaveWICTextureToFile(
|
||||
D3D12_RESOURCE_STATES afterState,
|
||||
const GUID* targetFormat,
|
||||
std::function<void(IPropertyBag2*)> setCustomProps,
|
||||
bool forceSRGB) noexcept
|
||||
bool forceSRGB)
|
||||
{
|
||||
if (!fileName)
|
||||
return E_INVALIDARG;
|
||||
|
||||
Reference in New Issue
Block a user