summaryrefslogtreecommitdiff
path: root/demo/ScreenQuad.lua
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-11-07 13:14:30 -0600
committersanine-a <sanine.not@pm.me>2020-11-07 13:14:30 -0600
commit94572182ea873d5dadbc8428330d4c00eead2c80 (patch)
treeb9152a7d474c236c29d42e133300b8513690bfef /demo/ScreenQuad.lua
parent8bb877ad57e7e41d928408e81f4e8cca63e171f7 (diff)
add basic Node transform functions and implement transform cascading
Diffstat (limited to 'demo/ScreenQuad.lua')
-rw-r--r--demo/ScreenQuad.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/demo/ScreenQuad.lua b/demo/ScreenQuad.lua
index 70794c1..ba9c27e 100644
--- a/demo/ScreenQuad.lua
+++ b/demo/ScreenQuad.lua
@@ -35,11 +35,11 @@ ScreenQuad.shader = honey.shader.new(vertexShader, fragmentShader)
ScreenQuad.tex = honey.texture.new()
ScreenQuad.depth = honey.texture.new()
-honey.texture.create(ScreenQuad.tex, 'rgb', 640, 640);
-honey.texture.create(ScreenQuad.depth, 'depth', 640, 640);
+honey.texture.create(ScreenQuad.tex, 'rgb', 640, 480);
+honey.texture.create(ScreenQuad.depth, 'depth', 640, 480);
--honey.texture.load(ScreenQuad.texture, 'checkerboard.png', false)
-ScreenQuad.fb = honey.texture.new_framebuffer(ScreenQuad.tex, ScreenQuad.depth, 640, 640)
+ScreenQuad.fb = honey.texture.new_framebuffer(ScreenQuad.tex, ScreenQuad.depth, 640, 480)
ScreenQuad.draw = function(self)
honey.texture.use(self.tex, 0)