mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-09 19:50:13 +02:00
Remove overvalidation bug for BC7 compressor with SRGB (#381)
This commit is contained in:
parent
4d9d7a8ceb
commit
7e7b11db04
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user