mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-13 11:30:44 +00:00
- fixed typo in wall sprite offsetting code.
This commit is contained in:
parent
a75ed91796
commit
b5358bc03c
1 changed files with 1 additions and 6 deletions
|
@ -235,7 +235,7 @@ void HWWall::RenderTexturedWall(HWDrawInfo *di, FRenderState &state, int rflags)
|
||||||
state.SetNpotEmulation(float(h2) / h, xOffset);
|
state.SetNpotEmulation(float(h2) / h, xOffset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (walldist >= 0 && !(rflags && RWF_TRANS))
|
else if (walldist >= 0 && !(rflags & RWF_TRANS))
|
||||||
{
|
{
|
||||||
state.SetDepthBias(-1, -128);
|
state.SetDepthBias(-1, -128);
|
||||||
}
|
}
|
||||||
|
@ -1092,11 +1092,6 @@ void HWWall::ProcessWallSprite(HWDrawInfo* di, spritetype* spr, sectortype* sect
|
||||||
auto tex = tileGetTexture(spr->picnum);
|
auto tex = tileGetTexture(spr->picnum);
|
||||||
if (!tex || !tex->isValid()) return;
|
if (!tex || !tex->isValid()) return;
|
||||||
|
|
||||||
if (spr->owner == 771)
|
|
||||||
{
|
|
||||||
int a = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
seg = nullptr;
|
seg = nullptr;
|
||||||
Sprite = spr;
|
Sprite = spr;
|
||||||
vec2_t pos[2];
|
vec2_t pos[2];
|
||||||
|
|
Loading…
Reference in a new issue