diff options
Diffstat (limited to 'demo/main.lua')
-rw-r--r-- | demo/main.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demo/main.lua b/demo/main.lua index 5474609..ab3e8b3 100644 --- a/demo/main.lua +++ b/demo/main.lua @@ -92,13 +92,13 @@ function honey.draw() if buffer then honey.set_framebuffer(ScreenQuad.fb) - honey.enable_depth_test(true) honey.clear_color(Vector.Vec4.new().array, true, true, false) + honey.enable_depth_test(true) draw_suzanne() honey.set_framebuffer(0) - honey.enable_depth_test(true) - honey.clear_color(Vector.Vec4.new{0,0,1,1}.array, true, true, false) + honey.enable_depth_test(false) + honey.clear_color(Vector.Vec4.new{0,0,1,1}.array, true, false, false) ScreenQuad:draw() else honey.clear_color(Vector.Vec4.new{1,1,0,1}.array, true, true, false) |