mirror of
https://github.com/pound-emu/pound.git
synced 2025-12-12 19:36:57 +00:00
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:
parent
c89bb6ca7d
commit
6dbe756b2b
1 changed files with 6 additions and 4 deletions
10
gui/gui.h
10
gui/gui.h
|
|
@ -124,10 +124,12 @@ void window_destroy(window_t* window);
|
||||||
* gui::gui_t gui;
|
* gui::gui_t gui;
|
||||||
*
|
*
|
||||||
* // Initialize the GUI system
|
* // Initialize the GUI system
|
||||||
* if (!gui::init(&gui, &main_window)) {
|
* if (bool return_code = gui::init_imgui(&window); false == return_code)
|
||||||
* fprintf(stderr, "Failed to initialize the GUI. \n");
|
* {
|
||||||
* return -1;
|
* LOG_ERROR(Render, "Failed to initialize GUI");
|
||||||
* }
|
* return EXIT_FAILURE;
|
||||||
|
* }
|
||||||
|
*
|
||||||
*
|
*
|
||||||
* // Use the GUI for rendering...
|
* // Use the GUI for rendering...
|
||||||
* ...
|
* ...
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue