Skip to content

Commit

Permalink
pass ioredir bool
Browse files Browse the repository at this point in the history
  • Loading branch information
sphaero committed May 22, 2024
1 parent fe47ae1 commit a67fd2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a67fd2d

Please sign in to comment.