examples - comments
Some checks failed
Build / Build (push) Failing after 2m8s

This commit is contained in:
2026-04-12 23:42:15 -04:00
parent fd35e93831
commit 14b4e60d3a
4 changed files with 47 additions and 14 deletions

View File

@@ -1,3 +1,8 @@
// createContext
// Still in progress, although I'm 95% sure this wont get changed.
// Come back later!
// - Firewire
#include <cstdlib>
#include <exception>
#include "GLFW/glfw3.h"
@@ -15,7 +20,7 @@ int main() {
try {
Oatmeal::ctx ctx(window);
} catch (const std::exception &e) {
OatmealUtils::get("context")->critical("{}", e.what());
OatmealUtils::getLogger("context")->critical("{}", e.what());
return EXIT_FAILURE;
}
@@ -24,7 +29,7 @@ int main() {
glfwPollEvents();
}
OatmealUtils::get("window")->info("Cleaning up");
OatmealUtils::getLogger("window")->info("Cleaning up");
glfwDestroyWindow(window);
glfwTerminate();