diff options
| author | 2021-07-13 09:21:45 -0700 | |
|---|---|---|
| committer | 2021-07-13 09:21:45 -0700 | |
| commit | d47a1a68924c99d6cdf55fcb61e0ca7d753c0be0 (patch) | |
| tree | ed036f87c054155330dfdfdadf80b1b244121571 | |
| parent | 4dd2b450ad8b764e6170b5e6dddeca2cabcac4db (diff) | |
voodoo: Fix dither subtraction. Fixes squares around balls in virtpool.
| -rw-r--r-- | src/devices/video/voodoo_render.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/voodoo_render.h b/src/devices/video/voodoo_render.h index b428494f5ef..afdbcfc46e2 100644 --- a/src/devices/video/voodoo_render.h +++ b/src/devices/video/voodoo_render.h @@ -93,7 +93,7 @@ public: // return the subtractive dither value for alpha blending u32 subtract(s32 x) const { - return (m_dither_raw != nullptr) ? (15 - (m_dither_raw[x & 3] >> 1)) : 0; + return (m_dither_raw != nullptr) ? ((15 - m_dither_raw[x & 3]) >> 1) : 0; } // allocate and initialize static tables |
