mirror of https://github.com/PCSX2/pcsx2.git
GS/HW: Don't invalidate alpha on display target lookup
This commit is contained in:
parent
d60a818791
commit
3321cb37ef
|
@ -1571,14 +1571,6 @@ GSTextureCache::Target* GSTextureCache::LookupTarget(GIFRegTEX0 TEX0, const GSVe
|
|||
if (dst)
|
||||
{
|
||||
dst->m_used |= used;
|
||||
|
||||
if (is_frame)
|
||||
{
|
||||
// TODO: Why are we doing this?!
|
||||
dst->m_valid_alpha_low = false;
|
||||
dst->m_valid_alpha_high = false;
|
||||
}
|
||||
|
||||
dst->readbacks_since_draw = 0;
|
||||
|
||||
assert(dst && dst->m_texture && dst->m_scale == scale);
|
||||
|
@ -1980,6 +1972,7 @@ bool GSTextureCache::CopyRGBFromDepthToColor(Target* dst, Target* depth_src)
|
|||
|
||||
dst->m_unscaled_size = new_size;
|
||||
dst->m_valid_rgb = true;
|
||||
dst->m_32_bits_fmt = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue