summaryrefslogtreecommitdiff
path: root/honey/window.lua
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-03-13 02:42:16 -0500
committersanine <sanine.not@pm.me>2023-03-13 02:42:16 -0500
commit89572c1648128456822cf2dda07b13e78cfc2813 (patch)
tree78cafed06eb4cb261e53d0de28fa7e170ce55d6f /honey/window.lua
parentbb8c38bffba86cda05e0e8e9b52fb68301286b53 (diff)
render all shapes
Diffstat (limited to 'honey/window.lua')
-rw-r--r--honey/window.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/honey/window.lua b/honey/window.lua
index 204f8e4..35e04ac 100644
--- a/honey/window.lua
+++ b/honey/window.lua
@@ -17,7 +17,6 @@ function Window.new(_, width, height, title, monitor, share)
self.win = glfw.CreateWindow(width, height, title, monitor, share)
self.__gc = honey.util.gc_canary(function()
- print("destroying window " .. tostring(self.win))
glfw.DestroyWindow(self.win)
end)
@@ -149,7 +148,7 @@ function Window.setContentScaleCallback(self, cb)
end
-function Window.SwapBuffers(self)
+function Window.swapBuffers(self)
glfw.SwapBuffers(self.win)
end