Merge branch 'GoaLitiuM-exr_crash_fix'
This commit is contained in:
@@ -306,7 +306,7 @@ HRESULT LoadFromEXRFile(const StringView& path, DirectX::ScratchImage& image)
|
|||||||
LOG_STR(Warning, String(err));
|
LOG_STR(Warning, String(err));
|
||||||
FreeEXRErrorMessage(err);
|
FreeEXRErrorMessage(err);
|
||||||
}
|
}
|
||||||
return S_FALSE;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup image
|
// Setup image
|
||||||
@@ -326,7 +326,7 @@ HRESULT LoadFromEXRFile(const StringView& path, DirectX::ScratchImage& image)
|
|||||||
return result;
|
return result;
|
||||||
#else
|
#else
|
||||||
LOG(Warning, "EXR format is not supported.");
|
LOG(Warning, "EXR format is not supported.");
|
||||||
return S_FALSE;
|
return E_FAIL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user