Fix broken two-sided midtextures in Software

This commit is contained in:
spherallic 2023-06-29 09:34:00 +02:00
parent 4c4584f9d1
commit cb30411e49

View file

@ -1466,7 +1466,7 @@ static void R_RenderSegLoop (void)
{
// save texturecol
// for backdrawing of masked mid texture
maskedtexturecol[rw_x] = (INT16)(texturecolumn + (rw_offset_mid>>FRACBITS));
maskedtexturecol[rw_x] = (INT16)texturecolumn_mid;
if (maskedtextureheight != NULL) {
maskedtextureheight[rw_x] = (curline->linedef->flags & ML_MIDPEG) ?