mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
Fix FOF side transparency/blending in Software
This commit is contained in:
parent
3849ba65aa
commit
4f33b71ef1
1 changed files with 13 additions and 17 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue