ImDrawData: fixed a regression in 1.92.9 where legacy `ImDrawData::CmdListsCount` was always 0.
diff --git a/docs/CHANGELOG.txt b/docs/CHANGELOG.txt
index a3e0360..35a6764 100644
--- a/docs/CHANGELOG.txt
+++ b/docs/CHANGELOG.txt
@@ -36,10 +36,23 @@
 - Please report any issue!
 
 -----------------------------------------------------------------------
+ VERSION 1.92.9b (In Progress)
+-----------------------------------------------------------------------
+
+Breaking Changes:
+
+Other Changes:
+
+- ImDrawData: fixed a regression in 1.92.9 where legacy `ImDrawData::CmdListsCount` was always 0.
+  Prefer using `ImDrawData::CmdList.Size` anyway.
+
+
+
+-----------------------------------------------------------------------
  VERSION 1.92.9 (Released 2026-07-25)
 -----------------------------------------------------------------------
 
-Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.92.8
+Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.92.9
 
 Breaking Changes:
 
@@ -1106,7 +1119,7 @@
     not available. (#5924, #5562)
   - SDL3+DirectX11: Added SDL3+DirectX11 example. (#8956, #8957) [@tomaz82]
   - Win32+DirectX12: Rework synchronization logic. (#8961) [@RT2Code]
-  - Made examples's main.cpp consistent with returning 1 on error.
+  - Made examples' main.cpp consistent with returning 1 on error.
 
 
 -----------------------------------------------------------------------
diff --git a/imgui.cpp b/imgui.cpp
index 2c536fa..da2780f 100644
--- a/imgui.cpp
+++ b/imgui.cpp
@@ -6243,7 +6243,9 @@
         ImDrawData* draw_data = &viewport->DrawDataP;
         for (ImDrawList* draw_list : draw_data->CmdLists)
             draw_list->_PopUnusedDrawCmd();
-
+#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
+        draw_data->CmdListsCount = draw_data->CmdLists.Size;
+#endif
         g.IO.MetricsRenderVertices += draw_data->TotalVtxCount;
         g.IO.MetricsRenderIndices += draw_data->TotalIdxCount;
     }
diff --git a/imgui_draw.cpp b/imgui_draw.cpp
index acf377c..d89e36a 100644
--- a/imgui_draw.cpp
+++ b/imgui_draw.cpp
@@ -2340,9 +2340,6 @@
 {
     draw_list->_PopUnusedDrawCmd();
     ImGui::AddDrawListToDrawDataEx(this, &CmdLists, draw_list);
-#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
-    CmdListsCount = CmdLists.Size;
-#endif
 }
 
 // For backward compatibility: convert all buffers from indexed to de-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!