This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user