mirror of https://github.com/PCSX2/pcsx2.git
GS/TC: Remove no longer needed asserts in PreloadTarget.
Asserts are no longer needed as we check for width offset and adjust width accordingly using the offset.
This commit is contained in:
parent
4a04100207
commit
5b7122bd30
|
@ -2651,11 +2651,6 @@ bool GSTextureCache::PreloadTarget(GIFRegTEX0 TEX0, const GSVector2i& size, cons
|
||||||
|
|
||||||
GL_INS("RT double buffer copy from FBP 0x%x, %dx%d => %d,%d", t->m_TEX0.TBP0, copy_width, copy_height, 0, dst_offset_scaled_height);
|
GL_INS("RT double buffer copy from FBP 0x%x, %dx%d => %d,%d", t->m_TEX0.TBP0, copy_width, copy_height, 0, dst_offset_scaled_height);
|
||||||
|
|
||||||
pxAssert(copy_width <= dst->GetTexture()->GetWidth() && copy_height <= dst->GetTexture()->GetHeight() &&
|
|
||||||
copy_width <= t->GetTexture()->GetWidth() && copy_height <= t->GetTexture()->GetHeight());
|
|
||||||
|
|
||||||
pxAssert(dst_offset_scaled_height > 0);
|
|
||||||
|
|
||||||
// Clear the dirty first
|
// Clear the dirty first
|
||||||
t->Update();
|
t->Update();
|
||||||
dst->Update();
|
dst->Update();
|
||||||
|
|
Loading…
Reference in New Issue