summaryrefslogtreecommitdiff
path: root/demo/fancy
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-10-12 12:03:23 -0500
committersanine <sanine.not@pm.me>2022-10-12 12:03:23 -0500
commit530ffd0b7d3c39757b20f00716e486b5caf89aff (patch)
tree76b35fdf57317038acf6b828871f6ae25fce2ebe /demo/fancy
parent3dbe9332e47c143a237db12440f134caebd1cfbe (diff)
add cairo
Diffstat (limited to 'demo/fancy')
-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)