mirror of https://github.com/PCSX2/pcsx2.git
gsdx hw: don't execute blit fmv with target
Avoid invalid operation due to depth buffer
This commit is contained in:
parent
fa826b3167
commit
d6b834e8af
|
@ -940,7 +940,7 @@ void GSRendererHW::OI_GsMemClear()
|
||||||
|
|
||||||
bool GSRendererHW::OI_BlitFMV(GSTextureCache::Target* _rt, GSTextureCache::Source* tex, const GSVector4i& r_draw)
|
bool GSRendererHW::OI_BlitFMV(GSTextureCache::Target* _rt, GSTextureCache::Source* tex, const GSVector4i& r_draw)
|
||||||
{
|
{
|
||||||
if (r_draw.w > 1024 && (m_vt.m_primclass == GS_SPRITE_CLASS) && (m_vertex.next == 2) && PRIM->TME && !PRIM->ABE && tex) {
|
if (r_draw.w > 1024 && (m_vt.m_primclass == GS_SPRITE_CLASS) && (m_vertex.next == 2) && PRIM->TME && !PRIM->ABE && tex && !tex->m_target) {
|
||||||
GL_PUSH("OI_BlitFMV");
|
GL_PUSH("OI_BlitFMV");
|
||||||
|
|
||||||
GL_INS("OI_BlitFMV");
|
GL_INS("OI_BlitFMV");
|
||||||
|
|
Loading…
Reference in New Issue