Fix FOF side transparency/blending in Software

This commit is contained in:
spherallic 2024-06-24 21:48:36 +02:00
parent 3849ba65aa
commit 4f33b71ef1

View file

@ -1004,9 +1004,6 @@ void R_RenderThickSideRange(drawseg_t *ds, INT32 x1, INT32 x2, ffloor_t *pfloor)
{ {
dc_iscale = 0xffffffffu / (unsigned)spryscale; dc_iscale = 0xffffffffu / (unsigned)spryscale;
// Skip if texture is multipatch
if (textures[texnum]->transparency)
{
// Column has a single post and it matches the texture height, use regular column drawers // Column has a single post and it matches the texture height, use regular column drawers
if (col->num_posts == 1 && col->posts[0].topdelta == 0 && col->posts[0].length == (unsigned)dc_texheight) if (col->num_posts == 1 && col->posts[0].topdelta == 0 && col->posts[0].length == (unsigned)dc_texheight)
{ {
@ -1024,7 +1021,6 @@ void R_RenderThickSideRange(drawseg_t *ds, INT32 x1, INT32 x2, ffloor_t *pfloor)
colfunc = colfuncs[COLDRAWFUNC_CLAMPED]; colfunc = colfuncs[COLDRAWFUNC_CLAMPED];
} }
} }
}
// SoM: New code does not rely on R_DrawColumnShadowed_8 which // SoM: New code does not rely on R_DrawColumnShadowed_8 which
// will (hopefully) put less strain on the stack. // will (hopefully) put less strain on the stack.