This commit is contained in:
2025-06-29 00:53:26 -04:00
parent 9083a25a2b
commit e4f6da650e
6 changed files with 19 additions and 14 deletions

View File

@@ -7,8 +7,8 @@
#include "window.h"
#include "input.h"
#include "settings.h"
#include "snapshots.h"
#include "tool.h"
#include "undo_stack.h"
#define IMGUI_IMPL_OPENGL_LOADER_CUSTOM
#define IMGUI_ENABLE_DOCKING
@@ -101,7 +101,7 @@ struct Imgui
Preview* preview = NULL;
Settings* settings = NULL;
Tool* tool = NULL;
UndoStack* undoStack = NULL;
Snapshots* snapshots = NULL;
SDL_Window* window = NULL;
SDL_GLContext* glContext = NULL;
bool isSwap = false;
@@ -123,7 +123,7 @@ imgui_init
Preview* preview,
Settings* settings,
Tool* tool,
UndoStack* undoStack,
Snapshots* snapshots,
SDL_Window* window,
SDL_GLContext* glContext
);