mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Changed ImGui::GetTime() return value from float to double to avoid accumulating floating point imprecisions over time.
This commit is contained in:
		@@ -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