[client] imgui: use signalNextFrame if possible

This allows imgui to be rendered at screen refresh rate for supported display
server backends.
This commit is contained in:
Quantum
2021-07-31 04:02:24 -04:00
committed by Geoffrey McRae
parent a213ee960a
commit c8dc037e94
2 changed files with 25 additions and 1 deletions

View File

@@ -55,6 +55,8 @@ struct AppState
ImFont * fontLarge;
bool overlayInput;
ImGuiMouseCursor cursorLast;
LGEvent * overlayRenderEvent;
bool overlayMustWait;
bool alertShow;
char * alertMessage;