[nostaliga,turbine] Move rest of ImGui init to Turbine
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <glad/glad.h>
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <imgui_impl_glfw.h>
|
||||
#include <imgui_impl_opengl3.h>
|
||||
|
||||
#include <ox/std/defines.hpp>
|
||||
|
||||
@@ -228,6 +229,7 @@ ox::Error initGfx(Context &ctx) noexcept {
|
||||
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
|
||||
//io.MouseDrawCursor = true;
|
||||
ImGui_ImplGlfw_InitForOpenGL(gctx.window, true);
|
||||
ImGui_ImplOpenGL3_Init();
|
||||
themeImgui();
|
||||
}
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user