mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
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:
parent
7a3776dfac
commit
75baf37812
1 changed files with 7 additions and 1 deletions
|
@ -1525,6 +1525,12 @@ void drawpoly(double *dpx, double *dpy, int32_t n, int32_t method)
|
|||
|
||||
{
|
||||
float pc[4];
|
||||
|
||||
#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)
|
||||
|
|
Loading…
Reference in a new issue