mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
polymer: fix leading whitespace in polymer_drawmdsprite
git-svn-id: https://svn.eduke32.com/eduke32@2051 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
83a359973c
commit
6863a463b4
1 changed files with 4 additions and 4 deletions
|
@ -3882,7 +3882,7 @@ static void polymer_drawmdsprite(spritetype *tspr)
|
|||
spos[0] = (float)tspr->y;
|
||||
spos[1] = -(float)(tspr->z) / 16.0f;
|
||||
spos[2] = -(float)tspr->x;
|
||||
|
||||
|
||||
spos2[0] = spos2[1] = spos2[2] = 0.0f;
|
||||
}
|
||||
|
||||
|
@ -4010,7 +4010,7 @@ static void polymer_drawmdsprite(spritetype *tspr)
|
|||
|
||||
color[0] = color[1] = color[2] =
|
||||
((float)(numpalookups-min(max((tspr->shade * shadescale)+m->shadeoff,0),numpalookups)))/((float)numpalookups) * 0xFF;
|
||||
|
||||
|
||||
usinghighpal = (pr_highpalookups &&
|
||||
prhighpalookups[curbasepal][tspr->pal].map);
|
||||
|
||||
|
@ -4163,11 +4163,11 @@ static void polymer_drawmdsprite(spritetype *tspr)
|
|||
mdspritematerial.specmaterial[1] = sk->specfactor;
|
||||
foundpalskin = 1;
|
||||
}
|
||||
|
||||
|
||||
// If we have a global palette tint, the palskin won't do us any good
|
||||
if (curbasepal)
|
||||
foundpalskin = 0;
|
||||
|
||||
|
||||
if (!foundpalskin && usinghighpal) {
|
||||
// We don't have a specific skin defined for this palette
|
||||
// Use the base skin instead and plug in our highpalookup map
|
||||
|
|
Loading…
Reference in a new issue