Prevent visual artifacts with blocky fuzz (#1217)

* Prevent visual artifacts with blocky fuzz

* Simplify

* Apply blocky fuzz fix in `R_DrawMaskedColumn()`

* Revert changes to `R_DrawMaskedColumn()`

* Round up to even value
This commit is contained in:
ceski 2023-10-03 23:43:38 -07:00 committed by GitHub
parent 4ecef5fa59
commit 12ce2bbd65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -530,7 +530,7 @@ static void R_DrawFuzzColumn_block(void)
return;
// [FG] draw only even pixels
dc_yl &= (int)~1;
dc_yl = (dc_yl + 1) & ~1;
dc_yh &= (int)~1;
if (!dc_yl)