Move depth fade definition to GLDEFS
This commit is contained in:
parent
27058efe85
commit
58fecd4b92
10 changed files with 12 additions and 16 deletions
|
|
@ -130,9 +130,6 @@ void HWSprite::DrawSprite(HWDrawInfo *di, FRenderState &state, bool translucent)
|
|||
state.SetRenderStyle(RenderStyle);
|
||||
state.SetTextureMode(RenderStyle);
|
||||
|
||||
if (actor)
|
||||
state.SetDepthFadeThreshold(actor->DepthFadeThreshold);
|
||||
|
||||
if (hw_styleflags == STYLEHW_NoAlphaTest)
|
||||
{
|
||||
state.AlphaFunc(Alpha_GEqual, 0.f);
|
||||
|
|
@ -328,8 +325,6 @@ void HWSprite::DrawSprite(HWDrawInfo *di, FRenderState &state, bool translucent)
|
|||
state.ClearDepthBias();
|
||||
}
|
||||
|
||||
state.SetDepthFadeThreshold(0.0f);
|
||||
|
||||
// [Nash] hitbox debug
|
||||
if (actor && r_showhitbox)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue