Polymer/rotatesprite: don't redundantly apply shade glColor() with ART mapping.

git-svn-id: https://svn.eduke32.com/eduke32@4394 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2014-03-23 23:14:50 +00:00
parent 7a3776dfac
commit 75baf37812
1 changed files with 7 additions and 1 deletions

View File

@ -1525,7 +1525,13 @@ void drawpoly(double *dpx, double *dpy, int32_t n, int32_t method)
{
float pc[4];
pc[0] = pc[1] = pc[2] = getshadefactor(globalshade);
#ifdef POLYMER
if (getrendermode() == REND_POLYMER && pr_artmapping)
pc[0] = pc[1] = pc[2] = 1.0f;
else
#endif
pc[0] = pc[1] = pc[2] = getshadefactor(globalshade);
switch (method&3)
{