GPU3D: swap vin and vout during clipping, giving results that are closer to hardware.

fixes #598 and also fixes #379
This commit is contained in:
Arisotura
2020-04-11 23:56:36 +02:00
parent d412630a49
commit 4c560f3324
2 changed files with 3 additions and 3 deletions

View File

@ -336,8 +336,8 @@ void Update()
colA &= mask;
colB &= mask;
if (colA == colB) WinBitmapData[(y*768) + x + 512] = 0xFF00FF00;
else WinBitmapData[(y*768) + x + 512] = 0xFFFF0000;
if (colA == colB) WinBitmapData[(y*768) + x + 512] = 0xFF000000;//0xFF00FF00;
else WinBitmapData[(y*768) + x + 512] = 0xFFFFFFFF;//0xFFFF0000;
}
}