mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-14 19:38:10 +00:00
[client] app: init/destroy imgui context on run/shutdown
This commit is contained in:
@@ -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