summaryrefslogtreecommitdiff
path: root/scripts/viewportResize.lua
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2023-05-09 14:46:08 -0500
committersanine-a <sanine.not@pm.me>2023-05-09 14:46:08 -0500
commit9c9690ab5e4ecb484ee130c21f1767785908bd10 (patch)
tree847d7868a25936b1e632caac2b581b2c90d0eee0 /scripts/viewportResize.lua
parentfe6564d8c31662d4d2c2606c62ba6d4416c6b6a6 (diff)
fix texture loading
Diffstat (limited to 'scripts/viewportResize.lua')
-rw-r--r--scripts/viewportResize.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/viewportResize.lua b/scripts/viewportResize.lua
new file mode 100644
index 0000000..4b43d29
--- /dev/null
+++ b/scripts/viewportResize.lua
@@ -0,0 +1,3 @@
+return function(entities, id, data)
+ honey.gl.Viewport(0, 0, data.width, data.height)
+end