mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
- fixed incompletely initialized secplanes in sprite splitting code.
(patch by Graf) # Conflicts: # src/hwrenderer/scene/hw_sprites.cpp LZDoom was not affected tough. # Conflicts: # src/gl/scene/gl_sprite.cpp
This commit is contained in:
parent
57efd617fa
commit
f9fff8bbce
1 changed files with 2 additions and 2 deletions
|
@ -412,8 +412,8 @@ void GLSprite::Draw(int pass)
|
|||
gl_RenderState.EnableSplit(true);
|
||||
}
|
||||
|
||||
secplane_t bottomp = { { 0, 0, -1. }, bottomclip };
|
||||
secplane_t topp = { { 0, 0, -1. }, topclip };
|
||||
secplane_t bottomp = { { 0, 0, -1. }, bottomclip, 1. };
|
||||
secplane_t topp = { { 0, 0, -1. }, topclip, 1. };
|
||||
for (unsigned i = 0; i < iter; i++)
|
||||
{
|
||||
if (lightlist)
|
||||
|
|
Loading…
Reference in a new issue