Fix threshold for IsAlphaAllOpaque(#103)
This commit is contained in:
parent
94b06c9072
commit
11561a2807
@ -764,7 +764,7 @@ bool ScratchImage::IsAlphaAllOpaque() const
|
|||||||
if (!scanline)
|
if (!scanline)
|
||||||
return false;
|
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)
|
for (size_t index = 0; index < m_nimages; ++index)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user