GS/HW: Fix incorrect condition in DX11/OGL

This commit is contained in:
Stenzek 2023-03-06 18:59:34 +10:00 committed by refractionpcsx2
parent eb0d18f484
commit 1a67b2146a
2 changed files with 2 additions and 2 deletions

View File

@ -811,7 +811,7 @@ void GSDevice11::DrawMultiStretchRects(const MultiStretchRect* rects, u32 num_re
for (u32 i = 1; i < num_rects; i++)
{
if (rects[i].src == last_tex && rects[i].linear == last_linear || rects[i].wmask.wrgba != last_wmask)
if (rects[i].src == last_tex && rects[i].linear == last_linear && rects[i].wmask.wrgba == last_wmask)
{
count++;
continue;

View File

@ -1330,7 +1330,7 @@ void GSDeviceOGL::DrawMultiStretchRects(
for (u32 i = 1; i < num_rects; i++)
{
if (rects[i].src == last_tex && rects[i].linear == last_linear || rects[i].wmask.wrgba != last_wmask)
if (rects[i].src == last_tex && rects[i].linear == last_linear && rects[i].wmask.wrgba == last_wmask)
{
count++;
continue;