gui: updated gui_t code example docs

gui::init() was removed in favour of gui::init_imgui() and the docs for
gui_t was not updated to reflect the change.

Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
Ronald Caesar 2025-08-10 01:53:05 -04:00
parent c89bb6ca7d
commit 6dbe756b2b
No known key found for this signature in database
GPG key ID: 04307C401999C596

View file

@ -124,10 +124,12 @@ void window_destroy(window_t* window);
* gui::gui_t gui;
*
* // Initialize the GUI system
* if (!gui::init(&gui, &main_window)) {
* fprintf(stderr, "Failed to initialize the GUI. \n");
* return -1;
* }
* if (bool return_code = gui::init_imgui(&window); false == return_code)
* {
* LOG_ERROR(Render, "Failed to initialize GUI");
* return EXIT_FAILURE;
* }
*
*
* // Use the GUI for rendering...
* ...