summaryrefslogtreecommitdiff
path: root/demo/ScreenQuad.lua
diff options
context:
space:
mode:
Diffstat (limited to 'demo/ScreenQuad.lua')
-rw-r--r--demo/ScreenQuad.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/ScreenQuad.lua b/demo/ScreenQuad.lua
index ba9c27e..4cc247f 100644
--- a/demo/ScreenQuad.lua
+++ b/demo/ScreenQuad.lua
@@ -31,7 +31,7 @@ void main()
color = vec4(texture(tex, UV).xyz, 1);
} ]]
-ScreenQuad.shader = honey.shader.new(vertexShader, fragmentShader)
+ScreenQuad.shader = honey.shader(vertexShader, fragmentShader)
ScreenQuad.tex = honey.texture.new()
ScreenQuad.depth = honey.texture.new()