mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +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);
|
||||
}
|
||||
}
|
||||
else if (walldist >= 0 && !(rflags && RWF_TRANS))
|
||||
else if (walldist >= 0 && !(rflags & RWF_TRANS))
|
||||
{
|
||||
state.SetDepthBias(-1, -128);
|
||||
}
|
||||
|
@ -1092,11 +1092,6 @@ void HWWall::ProcessWallSprite(HWDrawInfo* di, spritetype* spr, sectortype* sect
|
|||
auto tex = tileGetTexture(spr->picnum);
|
||||
if (!tex || !tex->isValid()) return;
|
||||
|
||||
if (spr->owner == 771)
|
||||
{
|
||||
int a = 0;
|
||||
}
|
||||
|
||||
seg = nullptr;
|
||||
Sprite = spr;
|
||||
vec2_t pos[2];
|
||||
|
|
Loading…
Reference in a new issue