gsdx hw: don't execute blit fmv with target

Avoid invalid operation due to depth buffer
This commit is contained in:
Gregory Hainaut 2016-08-20 12:56:30 +02:00
parent fa826b3167
commit d6b834e8af
1 changed files with 1 additions and 1 deletions

View File

@ -940,7 +940,7 @@ void GSRendererHW::OI_GsMemClear()
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_INS("OI_BlitFMV");