[nostalgia] Add scaffolding for ImGui

This commit is contained in:
2021-05-16 13:04:32 -05:00
parent 63e46d7bb4
commit bae1f05038
7 changed files with 72 additions and 5 deletions
+3
View File
@@ -7,6 +7,8 @@
*/
#include <GLFW/glfw3.h>
#include <imgui.h>
#include <imgui_impl_glfw.h>
#include <nostalgia/core/userland/gfx.hpp>
@@ -37,6 +39,7 @@ ox::Error initGfx(Context *ctx) noexcept {
glfwSetWindowUserPointer(id->window, ctx);
glfwMakeContextCurrent(id->window);
oxReturnError(renderer::init(ctx));
ImGui_ImplGlfw_InitForOpenGL(id->window, true);
return OxError(0);
}