Changed ImGui::GetTime() return value from float to double to avoid accumulating floating point imprecisions over time.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user