mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Polymost: Remove "indrawroomsandmasks" variable and its only use in polymost_drawpoly as a condition for the fullbright pass.
git-svn-id: https://svn.eduke32.com/eduke32@5437 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f05bd1377f
commit
0646835719
3 changed files with 1 additions and 6 deletions
|
@ -175,7 +175,6 @@ static uint32_t *distrecip;
|
|||
|
||||
static int32_t *lookups = NULL;
|
||||
static int32_t dommxoverlay = 1, beforedrawrooms = 1;
|
||||
int32_t indrawroomsandmasks = 0;
|
||||
|
||||
static int32_t oxdimen = -1, oviewingrange = -1, oxyaspect = -1;
|
||||
|
||||
|
@ -9327,7 +9326,6 @@ int32_t drawrooms(int32_t daposx, int32_t daposy, int32_t daposz,
|
|||
int32_t didmirror = 0;
|
||||
|
||||
beforedrawrooms = 0;
|
||||
indrawroomsandmasks = 1;
|
||||
|
||||
set_globalpos(daposx, daposy, daposz);
|
||||
set_globalang(daang);
|
||||
|
@ -10057,7 +10055,6 @@ killsprite:
|
|||
}
|
||||
#endif
|
||||
|
||||
indrawroomsandmasks = 0;
|
||||
enddrawing(); //}}}
|
||||
}
|
||||
|
||||
|
|
|
@ -149,8 +149,6 @@ extern int32_t m32_numdebuglines;
|
|||
#endif
|
||||
|
||||
|
||||
extern int32_t indrawroomsandmasks;
|
||||
|
||||
|
||||
#if defined(_MSC_VER) && !defined(NOASM)
|
||||
|
||||
|
|
|
@ -1466,7 +1466,7 @@ static void polymost_drawpoly(vec2f_t const * const dpxy, int32_t const n, int32
|
|||
|
||||
static int32_t fullbright_pass = 0;
|
||||
|
||||
if (pth->flags & PTH_HASFULLBRIGHT && indrawroomsandmasks && r_fullbrights)
|
||||
if (pth->flags & PTH_HASFULLBRIGHT && r_fullbrights)
|
||||
{
|
||||
if (!fullbright_pass)
|
||||
fullbright_pass = 1;
|
||||
|
|
Loading…
Reference in a new issue