GPU: Fix incorrect dither offset [3][0]

Fixes dots in sky in Silent Hill.
This commit is contained in:
Connor McLaughlin 2021-02-14 16:02:05 +10:00
parent f7426b0988
commit 0d13e1013d

View file

@ -221,7 +221,7 @@ struct GPUTextureWindow
static constexpr s32 DITHER_MATRIX[DITHER_MATRIX_SIZE][DITHER_MATRIX_SIZE] = {{-4, +0, -3, +1}, // row 0 static constexpr s32 DITHER_MATRIX[DITHER_MATRIX_SIZE][DITHER_MATRIX_SIZE] = {{-4, +0, -3, +1}, // row 0
{+2, -2, +3, -1}, // row 1 {+2, -2, +3, -1}, // row 1
{-3, +1, -4, +0}, // row 2 {-3, +1, -4, +0}, // row 2
{+4, -1, +2, -2}}; // row 3 {+3, -1, +2, -2}}; // row 3
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning(push) #pragma warning(push)