[client] app: init/destroy imgui context on run/shutdown

This commit is contained in:
Geoffrey McRae committed 2021-07-17 21:09:51 +10:00
1 parent f08163fd72
commit bcffd70270
2 files changed
+15 -13

No files matched your search

+4
View File
@@ -33,6 +33,8 @@
#include "spice/spice.h"
#include <lgmp/client.h>
#include "cimgui.h"
enum RunState
{
APP_STATE_RUNNING,
@@ -44,6 +46,8 @@ struct AppState
{
enum RunState state;
ImGuiIO * io;
struct LG_DisplayServerOps * ds;
bool dsInitialized;