mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-24 13:20:13 +00:00
Fix threshold for IsAlphaAllOpaque(#103)
This commit is contained in:
parent
94b06c9072
commit
11561a2807
@ -764,7 +764,7 @@ bool ScratchImage::IsAlphaAllOpaque() const
|
||||
if (!scanline)
|
||||
return false;
|
||||
|
||||
static const XMVECTORF32 threshold = { { { 0.99f, 0.99f, 0.99f, 0.99f } } };
|
||||
static const XMVECTORF32 threshold = { { { 0.997f, 0.997f, 0.997f, 0.997f } } };
|
||||
|
||||
for (size_t index = 0; index < m_nimages; ++index)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user