summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
Diffstat (limited to 'demo')
-rw-r--r--demo/fancy/honey.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/fancy/honey.lua b/demo/fancy/honey.lua
index 4b1526f..75f0a99 100644
--- a/demo/fancy/honey.lua
+++ b/demo/fancy/honey.lua
@@ -25,7 +25,7 @@ gl.Enable(gl.DEPTH_TEST)
window.setFramebufferSizeCallback(w, function(_, width, height)
print(string.format("resize: (%d, %d)", width, height))
- gl.setViewport(0, 0, width, height)
+ gl.Viewport(0, 0, width, height)
end)