mirror of https://github.com/PCSX2/pcsx2.git
gsdx hw: avoid a null deferenced false-positive in coverity
It is a false positive because it supposes that PRIM->TME is both true and false. It is the first Schrodinger's variable ;)
This commit is contained in:
parent
2d2fdd6e44
commit
dc2864ad7a
|
@ -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) {
|
||||
if (r_draw.w > 1024 && (m_vt.m_primclass == GS_SPRITE_CLASS) && (m_vertex.next == 2) && PRIM->TME && !PRIM->ABE && tex) {
|
||||
GL_PUSH("OI_BlitFMV");
|
||||
|
||||
GL_INS("OI_BlitFMV");
|
||||
|
|
Loading…
Reference in New Issue