mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 22:33:17 +00:00
- fixed incompletely initialized secplanes in sprite splitting code.
The recent optimization of the shader setup needs the negiC value properly set.
This commit is contained in:
parent
55f17fa90c
commit
a6b44b02b7
1 changed files with 2 additions and 2 deletions
|
@ -207,8 +207,8 @@ void GLSprite::DrawSprite(HWDrawInfo *di, FRenderState &state, bool translucent)
|
||||||
state.EnableSplit(true);
|
state.EnableSplit(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
secplane_t bottomp = { { 0, 0, -1. }, bottomclip };
|
secplane_t bottomp = { { 0, 0, -1. }, bottomclip, 1. };
|
||||||
secplane_t topp = { { 0, 0, -1. }, topclip };
|
secplane_t topp = { { 0, 0, -1. }, topclip, 1. };
|
||||||
for (unsigned i = 0; i < iter; i++)
|
for (unsigned i = 0; i < iter; i++)
|
||||||
{
|
{
|
||||||
if (lightlist)
|
if (lightlist)
|
||||||
|
|
Loading…
Reference in a new issue