|
|
|
@ -534,7 +534,7 @@ struct ImGuiIO
|
|
|
|
|
// {
|
|
|
|
|
// // code block will be executed one per frame
|
|
|
|
|
// }
|
|
|
|
|
// Attention! the macro expand into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces.
|
|
|
|
|
// Attention! the macro expands into 2 statement so make sure you don't use it within e.g. an if() statement without curly braces.
|
|
|
|
|
#define IMGUI_ONCE_UPON_A_FRAME static ImGuiOnceUponAFrame imgui_oaf##__LINE__; if (imgui_oaf##__LINE__)
|
|
|
|
|
struct ImGuiOnceUponAFrame
|
|
|
|
|
{
|
|
|
|
|