diff --git a/implot.h b/implot.h index 39c10f0..a7961c4 100644 --- a/implot.h +++ b/implot.h @@ -831,7 +831,7 @@ IMPLOT_API void SetNextAxesToFit(); // an ImPlot function post-fixed with a G (e.g. PlotScatterG). This has a slight performance // cost, but probably not enough to worry about unless your data is very large. Examples: // -// ImPlotPoint MyDataGetter(void* data, int idx) { +// ImPlotPoint MyDataGetter(int idx, void* data) { // MyData* my_data = (MyData*)data; // ImPlotPoint p; // p.x = my_data->GetTime(idx);