From d981b33dd0c95bf8ed2f0918fc7425c26f5f1ce4 Mon Sep 17 00:00:00 2001 From: ocornut Date: Wed, 26 Nov 2025 14:24:55 +0100 Subject: [PATCH] Textures: amend to please static analyzer. --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 6cbdcea1e..f878a116c 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -16134,7 +16134,7 @@ static const char* FormatTextureRefForDebugDisplay(char* buf, int buf_size, ImTe char* buf_end = buf + buf_size; if (tex_ref._TexData != NULL) buf_p += ImFormatString(buf_p, buf_end - buf_p, "#%03d: ", tex_ref._TexData->UniqueID); - buf_p += ImFormatString(buf_p, buf_end - buf_p, "0x%X", ImGui::DebugTextureIDToU64(tex_ref.GetTexID())); + ImFormatString(buf_p, buf_end - buf_p, "0x%X", ImGui::DebugTextureIDToU64(tex_ref.GetTexID())); return buf; }