In GraphicKatanaEngine, restore normal display of edges occupancy.

This commit is contained in:
Jean-Paul Chaput 2021-10-07 00:32:14 +02:00
parent b1befe5626
commit f77741db3f
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ namespace Katana {
float edgeOccupancy = edge->getEstimateOccupancy() + (float)edge->getRealOccupancy();
#define EDGE_OVERLOAD_DISPLAY 1
#define NORMAL_DENSITY_DISPLAY 1
#if NORMAL_DENSITY_DISPLAY
if ((unsigned int)edgeOccupancy <= edge->getCapacity())
occupancy = (uint32_t)( 255.0 * (edgeOccupancy / (float)edge->getCapacity()) );