summaryrefslogtreecommitdiff
path: root/honey/window.lua
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-03-16 12:12:39 -0500
committersanine <sanine.not@pm.me>2023-03-16 12:12:39 -0500
commitd94d9fb122e42264eca20bb037fe8a82290bd3e2 (patch)
tree7cb5b0ffd657ba69e193b4f2af6f1ddd3ec75ed2 /honey/window.lua
parent7516044247663dabccc7db110703cfcf8545d95f (diff)
implement ecs node cascading
Diffstat (limited to 'honey/window.lua')
-rw-r--r--honey/window.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/honey/window.lua b/honey/window.lua
index 471d51e..fa777d0 100644
--- a/honey/window.lua
+++ b/honey/window.lua
@@ -1,7 +1,7 @@
-local window = {}
+local module = {}
local glfw = honey.glfw
-setmetatable(window, {__index=_G})
-setfenv(1, window)
+setmetatable(module, {__index=_G})
+setfenv(1, module)
Window = {}
@@ -157,4 +157,4 @@ function Window.swapBuffers(self)
end
-return window
+return module.Window