1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-21 12:00:06 +00:00

Remove overvalidation bug for BC7 compressor with SRGB (#381)

This commit is contained in:
Chuck Walbourn 2023-08-02 12:00:27 -07:00 committed by GitHub
parent 4d9d7a8ceb
commit 7e7b11db04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -380,7 +380,6 @@ HRESULT GPUCompressBC::Compress(const Image& srcImage, const Image& destImage)
|| srcImage.height != destImage.height
|| srcImage.width != m_width
|| srcImage.height != m_height
|| srcImage.format != m_srcformat
|| destImage.format != m_bcformat)
{
return E_UNEXPECTED;