....that!
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
#include "imgui_.h"
|
||||
|
||||
#include "snapshots.h"
|
||||
#include "socket.h"
|
||||
|
||||
using namespace anm2ed::types;
|
||||
@@ -110,6 +111,7 @@ namespace anm2ed
|
||||
}
|
||||
|
||||
settings = Settings(settings_path());
|
||||
SnapshotStack::max_size_set(settings.fileSnapshotStackSize);
|
||||
|
||||
if (!SDL_Init(SDL_INIT_VIDEO))
|
||||
{
|
||||
@@ -184,11 +186,6 @@ namespace anm2ed
|
||||
|
||||
imgui::theme_set((theme::Type)settings.theme);
|
||||
|
||||
if (settings.theme == theme::DARK)
|
||||
ImGui::StyleColorsDark();
|
||||
else if (settings.theme == theme::LIGHT)
|
||||
ImGui::StyleColorsClassic();
|
||||
|
||||
ImGui_ImplSDL3_InitForOpenGL(window, glContext);
|
||||
ImGui_ImplOpenGL3_Init("#version 330");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user