mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Changed ImGui::GetTime() return value from float to double to avoid accumulating floating point imprecisions over time.
This commit is contained in:
parent
ec76009bc4
commit
e07f5d4c78
5 changed files with 12 additions and 9 deletions
|
|
@ -616,7 +616,7 @@ struct ImGuiContext
|
|||
float FontBaseSize; // (Shortcut) == IO.FontGlobalScale * Font->Scale * Font->FontSize. Base text height.
|
||||
ImDrawListSharedData DrawListSharedData;
|
||||
|
||||
float Time;
|
||||
double Time;
|
||||
int FrameCount;
|
||||
int FrameCountEnded;
|
||||
int FrameCountRendered;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue