mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +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,7 +1525,13 @@ void drawpoly(double *dpx, double *dpy, int32_t n, int32_t method)
|
||||||
|
|
||||||
{
|
{
|
||||||
float pc[4];
|
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)
|
switch (method&3)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue