mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-07 03:04:05 +00:00
[common] ringbuffer: allow reverse iteration
This commit is contained in:
@@ -158,7 +158,7 @@ static int graphs_render(void * udata, bool interactive,
|
||||
continue;
|
||||
|
||||
struct BufferMetrics metrics = {};
|
||||
ringbuffer_forEach(graph->buffer, rbCalcMetrics, &metrics);
|
||||
ringbuffer_forEach(graph->buffer, rbCalcMetrics, &metrics, false);
|
||||
|
||||
if (metrics.sum > 0.0f)
|
||||
{
|
||||
|
Reference in New Issue
Block a user