mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-08 22:41:45 +00:00
Hack around HOM when passing through a masked wall, but only on Android because the solution isn't very good.
git-svn-id: https://svn.eduke32.com/eduke32@4430 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a7cc0741ae
commit
e760d590be
1 changed files with 10 additions and 0 deletions
|
@ -4394,6 +4394,16 @@ void G_DrawRooms(int32_t snum, int32_t smoothratio)
|
||||||
|
|
||||||
if (g_networkMode == NET_DEDICATED_SERVER) return;
|
if (g_networkMode == NET_DEDICATED_SERVER) return;
|
||||||
|
|
||||||
|
#ifdef __ANDROID__
|
||||||
|
// HACK: this is needed or else we get leftover UI texture crap where we'd get HOM on PC
|
||||||
|
|
||||||
|
if (getrendermode() == REND_POLYMOST)
|
||||||
|
{
|
||||||
|
static int32_t col = getclosestcol(4, 4, 4);
|
||||||
|
clearallviews(col);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (pub > 0 || getrendermode() >= REND_POLYMOST) // JBF 20040101: redraw background always
|
if (pub > 0 || getrendermode() >= REND_POLYMOST) // JBF 20040101: redraw background always
|
||||||
{
|
{
|
||||||
if (ud.screen_size >= 8)
|
if (ud.screen_size >= 8)
|
||||||
|
|
Loading…
Reference in a new issue