diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 18eecb776..c838e8325 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -1675,9 +1675,9 @@ static void HWR_StoreWallRange(double startfrac, double endfrac) else { // Skewed by bottom - wallVerts[0].t = (texturevpegtop + worldhigh - worldtop) * grTex->scaleY; - wallVerts[2].t = wallVerts[3].t - (worldhighslope - worldhigh) * grTex->scaleY; - wallVerts[1].t = wallVerts[2].t - (worldhighslope - worldtopslope) * grTex->scaleY; + wallVerts[0].t = wallVerts[1].t = (texturevpegtop + worldtop - worldhigh) * grTex->scaleY; + wallVerts[3].t = wallVerts[0].t - (worldtop - worldhigh) * grTex->scaleY; + wallVerts[2].t = wallVerts[1].t - (worldtopslope - worldhighslope) * grTex->scaleY; } #endif }