Fix default stride in new PlotHistogram overload.

internals
Eric Mellino 7 years ago
parent 9357a7aade
commit a88418d244
  1. 2
      src/ImGui.NET/ImGui.cs

@ -329,7 +329,7 @@ namespace ImGuiNET
float scaleMin = float.MaxValue,
float scaleMax = float.MaxValue,
Vector2 graphSize = default(Vector2),
int elementStride = sizeof(float))
int elementStride = 1)
{
fixed (float* valuesBasePtr = values)
{

Loading…
Cancel
Save