mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 22:51:50 +00:00
polymost_drawpoly(): fix issue where mirrors wouldn't update the depth buffer
git-svn-id: https://svn.eduke32.com/eduke32@6888 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e87b6b902f
commit
5ee2bbc771
1 changed files with 6 additions and 1 deletions
|
@ -3142,7 +3142,12 @@ static void polymost_drawpoly(vec2f_t const * const dpxy, int32_t const n, int32
|
|||
; /* do nothing */
|
||||
}
|
||||
|
||||
if (!(method & DAMETH_MASKPROPS) && fullbright_pass < 2)
|
||||
if (!waloff[globalpicnum])
|
||||
{
|
||||
glEnable(GL_BLEND);
|
||||
glDisable(GL_ALPHA_TEST);
|
||||
}
|
||||
else if (!(method & DAMETH_MASKPROPS) && fullbright_pass < 2)
|
||||
{
|
||||
glDisable(GL_BLEND);
|
||||
glDisable(GL_ALPHA_TEST);
|
||||
|
|
Loading…
Reference in a new issue