diff options
Diffstat (limited to 'honey/window.lua')
-rw-r--r-- | honey/window.lua | 8 |
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 |