mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-12 07:36:14 +01:00
Remove overvalidation bug for BC7 compressor with SRGB (#381)
This commit is contained in:
@@ -380,7 +380,6 @@ HRESULT GPUCompressBC::Compress(const Image& srcImage, const Image& destImage)
|
|||||||
|| srcImage.height != destImage.height
|
|| srcImage.height != destImage.height
|
||||||
|| srcImage.width != m_width
|
|| srcImage.width != m_width
|
||||||
|| srcImage.height != m_height
|
|| srcImage.height != m_height
|
||||||
|| srcImage.format != m_srcformat
|
|
||||||
|| destImage.format != m_bcformat)
|
|| destImage.format != m_bcformat)
|
||||||
{
|
{
|
||||||
return E_UNEXPECTED;
|
return E_UNEXPECTED;
|
||||||
|
|||||||
Reference in New Issue
Block a user