From a67fd2db2a6e80b5045e7ec200023905d184e806 Mon Sep 17 00:00:00 2001 From: Arnaud Loonstra Date: Wed, 22 May 2024 16:42:03 +0200 Subject: [PATCH] pass ioredir bool --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 148f443..0316946 100644 --- a/main.cpp +++ b/main.cpp @@ -349,7 +349,7 @@ int main(int argc, char** argv) // try to init SDL and otherwise run headless if ( !headless && SDLInit(&window, &gl_context, &glsl_version) == 0 ) { - gzb::App::getApp().log_win.CaptureStdOut(); + gzb::App::getApp().log_win.capture_stdout = ioredir; SDL_SetWindowTitle(window, "Gazebosc [" GIT_VERSION "]" ); zsys_info("GLSL VERSION: %s", glsl_version); io = ImGUIInit(window, &gl_context, glsl_version);