[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 authored and Geoffrey McRae committed 2021-07-31 19:05:21 +10:00
1 parent a213ee960a
commit c8dc037e94
2 files changed
+25 -1

No files matched your search

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