mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix missing/invalid palswaps and shades in automap with Polymost
Patch from Nuke.YKT. git-svn-id: https://svn.eduke32.com/eduke32@7314 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9b17be7f3e
commit
450244e258
1 changed files with 4 additions and 2 deletions
|
@ -7491,7 +7491,8 @@ void polymost_fillpolygon(int32_t npoints)
|
||||||
if (!(pth->flags & PTH_INDEXED))
|
if (!(pth->flags & PTH_INDEXED))
|
||||||
polymost_usePaletteIndexing(false);
|
polymost_usePaletteIndexing(false);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
|
if (videoGetRenderMode() == REND_POLYMOST)
|
||||||
polymost_updatePalette();
|
polymost_updatePalette();
|
||||||
|
|
||||||
float const f = getshadefactor(globalshade);
|
float const f = getshadefactor(globalshade);
|
||||||
|
@ -7570,7 +7571,8 @@ int32_t polymost_drawtilescreen(int32_t tilex, int32_t tiley, int32_t wallnum, i
|
||||||
if (!(pth->flags & PTH_INDEXED))
|
if (!(pth->flags & PTH_INDEXED))
|
||||||
polymost_usePaletteIndexing(false);
|
polymost_usePaletteIndexing(false);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
|
if (videoGetRenderMode() == REND_POLYMOST)
|
||||||
polymost_updatePalette();
|
polymost_updatePalette();
|
||||||
|
|
||||||
glDisable(GL_ALPHA_TEST);
|
glDisable(GL_ALPHA_TEST);
|
||||||
|
|
Loading…
Reference in a new issue