diff --git a/imgui.cpp b/imgui.cpp index 77416a8..df7309a 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -7587,6 +7587,7 @@ if ((col >> 24) == 0) return; + // FIXME-OPT: This is wasting draw calls. const bool push_texture_id = texture_id_stack.empty() || user_texture_id != texture_id_stack.back(); if (push_texture_id) PushTextureID(user_texture_id);