[client] app: init/destroy imgui context on run/shutdown
This commit is contained in:
1 parent
f08163fd72
commit
bcffd70270
2 files changed
+15
-13
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user