patterns: Added support for declaring custom functions

This commit is contained in:
WerWolv
2021-06-20 21:22:31 +02:00
parent ac53b4bcab
commit 7f0bdc95da
13 changed files with 471 additions and 189 deletions

View File

@@ -563,7 +563,7 @@ namespace hex {
void Window::initGLFW() {
glfwSetErrorCallback([](int error, const char* desc) {
fprintf(stderr, "Glfw Error %d: %s\n", error, desc);
log::error("GLFW Error [{}] : {}", error, desc);
});
if (!glfwInit())