summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-09-27 17:00:46 -0500
committersanine <sanine.not@pm.me>2022-09-27 17:00:46 -0500
commitd822cf5b786776788cace9c3f9b2be9df41812e9 (patch)
treea1afdd5894495b2ac89cf4f45d5fa26bfa2ca3f3 /src/main.c
parent0745aeb35bee22f52b812869cf77995ff1ba373b (diff)
fix uninitialized memory bug in mesh loading and add suzanne.dae
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index e11a0c6..618b30c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -6,6 +6,7 @@
#include "gl/gl.h"
#include "glm/glm.h"
#include "image/image.h"
+#include "import/import.h"
#include "logging/logging.h"
#include "options/options.h"
@@ -29,6 +30,7 @@ int main(int argc, char **argv)
setup_gl(L, honey_index);
setup_glm(L, honey_index);
setup_image(L, honey_index);
+ setup_import(L, honey_index);
setup_logging(L, honey_index);
setup_window(L, honey_index);
lua_setglobal(L, "honey");