diff --git a/plugins/GSdx/GSTextureCache11.cpp b/plugins/GSdx/GSTextureCache11.cpp index 553c3c1f24..b5f61af5f6 100644 --- a/plugins/GSdx/GSTextureCache11.cpp +++ b/plugins/GSdx/GSTextureCache11.cpp @@ -50,7 +50,7 @@ void GSTextureCache11::Read(Target* t, const GSVector4i& r) return; } - if (!t->m_dirty.empty() || (r.width() == 0 && r.height() == 0)) + if (!t->m_dirty.empty() || r.width() == 0 || r.height() == 0) { return; } diff --git a/plugins/GSdx/GSTextureCache9.cpp b/plugins/GSdx/GSTextureCache9.cpp index a94c154681..6a5b8bd39f 100644 --- a/plugins/GSdx/GSTextureCache9.cpp +++ b/plugins/GSdx/GSTextureCache9.cpp @@ -50,7 +50,7 @@ void GSTextureCache9::Read(Target* t, const GSVector4i& r) return; } - if (!t->m_dirty.empty() || (r.width() == 0 && r.height() == 0)) + if (!t->m_dirty.empty() || r.width() == 0 || r.height() == 0) { return; } diff --git a/plugins/GSdx/GSTextureCacheOGL.cpp b/plugins/GSdx/GSTextureCacheOGL.cpp index f2e066b26c..bfd8cae3ad 100644 --- a/plugins/GSdx/GSTextureCacheOGL.cpp +++ b/plugins/GSdx/GSTextureCacheOGL.cpp @@ -30,7 +30,7 @@ GSTextureCacheOGL::GSTextureCacheOGL(GSRenderer* r) void GSTextureCacheOGL::Read(Target* t, const GSVector4i& r) { - if (!t->m_dirty.empty() || (r.width() == 0 && r.height() == 0)) + if (!t->m_dirty.empty() || r.width() == 0 || r.height() == 0) return; const GIFRegTEX0& TEX0 = t->m_TEX0;