summaryrefslogtreecommitdiff
path: root/src/honey.c
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-11-29 16:26:12 -0600
committersanine-a <sanine.not@pm.me>2020-11-29 16:26:12 -0600
commit65f1870eaa68cd18f2136bd112c042728855af03 (patch)
treed76e307f867b8e7a8439ce1bb8f3bb30a63e3526 /src/honey.c
parentf9f3ab244d12e6c7f38bf56dcf22c6a4913dc0f6 (diff)
refactor all files to use new argument parsing and table building functions
Diffstat (limited to 'src/honey.c')
-rw-r--r--src/honey.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/honey.c b/src/honey.c
index 673cd49..122c736 100644
--- a/src/honey.c
+++ b/src/honey.c
@@ -117,7 +117,6 @@ bool honey_setup(lua_State** L)
if (!honey_setup_window(*L))
return false;
- lua_setfield(*L, -2, "window");
honey_setup_input(*L);
lua_setfield(*L, -2, "input");
@@ -126,16 +125,12 @@ bool honey_setup(lua_State** L)
lua_setfield(*L, -2, "glm");
honey_setup_shader(*L);
- lua_setfield(*L, -2, "shader");
honey_setup_mesh(*L);
- lua_setfield(*L, -2, "mesh");
honey_setup_primitives(*L);
- lua_setfield(*L, -2, "primitives");
honey_setup_texture(*L);
- lua_setfield(*L, -2, "texture");
lua_pushcfunction(*L, honey_exit);
lua_setfield(*L, -2, "exit");