summaryrefslogtreecommitdiff
path: root/scripts/viewportResize.lua
diff options
context:
space:
mode:
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