mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
I'm retarded. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4640 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4263626f97
commit
9a04065b5e
1 changed files with 2 additions and 5 deletions
|
@ -1383,13 +1383,10 @@ void polymost_setupglowtexture(const int32_t texunits, const int32_t tex)
|
|||
static int32_t pow2xsplit = 0, skyclamphack = 0;
|
||||
static float alpha = 0.f;
|
||||
|
||||
static pthtyp *our_texcache_fetch(int32_t dameth)
|
||||
static inline pthtyp *our_texcache_fetch(int32_t dameth)
|
||||
{
|
||||
// r_usetileshades 1 is TX's method.
|
||||
if (r_usetileshades != 1)
|
||||
return texcache_fetch(globalpicnum, globalpal, globalshade, dameth);
|
||||
|
||||
return texcache_fetch(globalpicnum, globalpal, getpalookup(globvis>>3, globalshade), dameth);
|
||||
return texcache_fetch(globalpicnum, globalpal, getpalookup((r_usetileshades == 1) ? globvis>>3 : 0, globalshade), dameth);
|
||||
}
|
||||
|
||||
static void drawpoly(float *dpx, float *dpy, int32_t n, int32_t method)
|
||||
|
|
Loading…
Reference in a new issue