mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Use transparent area color for polymesh debug draw
This commit is contained in:
parent
c16d87ebc5
commit
0576749de0
@ -658,7 +658,7 @@ void duDebugDrawPolyMesh(duDebugDraw* dd, const struct rcPolyMesh& mesh)
|
|||||||
else if (area == RC_NULL_AREA)
|
else if (area == RC_NULL_AREA)
|
||||||
color = duRGBA(0,0,0,64);
|
color = duRGBA(0,0,0,64);
|
||||||
else
|
else
|
||||||
color = dd->areaToCol(area);
|
color = duTransCol(dd->areaToCol(area), 64);
|
||||||
|
|
||||||
unsigned short vi[3];
|
unsigned short vi[3];
|
||||||
for (int j = 2; j < nvp; ++j)
|
for (int j = 2; j < nvp; ++j)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user