LogTextV was present from 2021 so igLogText does not have to be manual

This commit is contained in:
sonoro1234
2025-04-15 17:25:02 +02:00
parent a007c438f0
commit 623cbefe49
6 changed files with 11 additions and 23 deletions

View File

@@ -12,16 +12,7 @@
/////////////////////////////manual written functions
CIMGUI_API void igLogText(const char *fmt, ...)
{
char buffer[256];
va_list args;
va_start(args, fmt);
vsnprintf(buffer, 256, fmt, args);
va_end(args);
ImGui::LogText("%s", buffer);
}
CIMGUI_API void ImGuiTextBuffer_appendf(ImGuiTextBuffer *self, const char *fmt, ...)
{
va_list args;