Force all drawing to go through DrawerStyle
This commit is contained in:
parent
2f9453bc86
commit
4afac0f2cc
21 changed files with 145 additions and 96 deletions
|
|
@ -114,19 +114,18 @@ namespace swrenderer
|
|||
{ // Don't waste time on a masked texture if it isn't really masked.
|
||||
masked = false;
|
||||
}
|
||||
R_SetSpanTexture(tex);
|
||||
double xscale = xform.xScale * tex->Scale.X;
|
||||
double yscale = xform.yScale * tex->Scale.Y;
|
||||
|
||||
if (!height.isSlope() && !tilt)
|
||||
{
|
||||
RenderFlatPlane renderer;
|
||||
renderer.Render(this, xscale, yscale, alpha, additive, masked, colormap);
|
||||
renderer.Render(this, xscale, yscale, alpha, additive, masked, colormap, tex);
|
||||
}
|
||||
else
|
||||
{
|
||||
RenderSlopePlane renderer;
|
||||
renderer.Render(this, xscale, yscale, alpha, additive, masked, colormap);
|
||||
renderer.Render(this, xscale, yscale, alpha, additive, masked, colormap, tex);
|
||||
}
|
||||
}
|
||||
NetUpdate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue