From 530ffd0b7d3c39757b20f00716e486b5caf89aff Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 12 Oct 2022 12:03:23 -0500 Subject: add cairo --- demo/fancy/honey.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demo/fancy') 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) -- cgit v1.2.1