mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	Warning fix. (#1565)
This commit is contained in:
		| @@ -13069,7 +13069,7 @@ void ImGui::ShowMetricsWindow(bool* p_open) | |||||||
|         ImGui::Text("Dear ImGui %s", ImGui::GetVersion()); |         ImGui::Text("Dear ImGui %s", ImGui::GetVersion()); | ||||||
|         ImGui::Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate); |         ImGui::Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate); | ||||||
|         ImGui::Text("%d vertices, %d indices (%d triangles)", ImGui::GetIO().MetricsRenderVertices, ImGui::GetIO().MetricsRenderIndices, ImGui::GetIO().MetricsRenderIndices / 3); |         ImGui::Text("%d vertices, %d indices (%d triangles)", ImGui::GetIO().MetricsRenderVertices, ImGui::GetIO().MetricsRenderIndices, ImGui::GetIO().MetricsRenderIndices / 3); | ||||||
|         ImGui::Text("%d allocations", GImAllocatorActiveAllocationsCount); |         ImGui::Text("%d allocations", (int)GImAllocatorActiveAllocationsCount); | ||||||
|         static bool show_clip_rects = true; |         static bool show_clip_rects = true; | ||||||
|         ImGui::Checkbox("Show clipping rectangles when hovering draw commands", &show_clip_rects); |         ImGui::Checkbox("Show clipping rectangles when hovering draw commands", &show_clip_rects); | ||||||
|         ImGui::Separator(); |         ImGui::Separator(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user