mirror of
https://github.com/gwm17/implot.git
synced 2025-02-07 14:48:51 -05:00
Fixupside-down heatmaps
This commit is contained in:
parent
7b840d1a44
commit
2816b0cbd9
|
@ -279,7 +279,7 @@ void OpenGL3_RenderHeatmap(int plotID, ImDrawList& DrawList, const ImVec2& bound
|
||||||
|
|
||||||
DrawList.AddCallback(RenderCallback, (void*)(intptr_t)plotID);
|
DrawList.AddCallback(RenderCallback, (void*)(intptr_t)plotID);
|
||||||
DrawList.PrimReserve(6, 4);
|
DrawList.PrimReserve(6, 4);
|
||||||
DrawList.PrimRectUV(bounds_min, bounds_max, ImVec2(0.0f, 0.0f), ImVec2(1.0f, 1.0f), 0);
|
DrawList.PrimRectUV(bounds_min, bounds_max, ImVec2(0.0f, 1.0f), ImVec2(1.0f, 0.0f), 0);
|
||||||
DrawList.AddCallback(UnbindTexture, nullptr);
|
DrawList.AddCallback(UnbindTexture, nullptr);
|
||||||
DrawList.AddCallback(ImDrawCallback_ResetRenderState, nullptr);
|
DrawList.AddCallback(ImDrawCallback_ResetRenderState, nullptr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user