[nostalgia/core] Cleanup

This commit is contained in:
2021-05-30 15:52:05 -05:00
parent bae1f05038
commit faf8fa0668
3 changed files with 6 additions and 5 deletions

View File

@@ -39,6 +39,8 @@ ox::Error initGfx(Context *ctx) noexcept {
glfwSetWindowUserPointer(id->window, ctx);
glfwMakeContextCurrent(id->window);
oxReturnError(renderer::init(ctx));
oxReturnError(OxError(glfwInit() != 0));
ImGui::CreateContext();
ImGui_ImplGlfw_InitForOpenGL(id->window, true);
return OxError(0);
}