From 48173231d90de6bfc193260eab6369f7c88ca742 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 30 Dec 2018 12:21:18 +0800 Subject: -C++ examples --- bin/game/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/game/main.lua') diff --git a/bin/game/main.lua b/bin/game/main.lua index b5723ad..ff8670d 100644 --- a/bin/game/main.lua +++ b/bin/game/main.lua @@ -350,8 +350,8 @@ function jin.core.onDraw() jin.graphics.print("Stats\n----------------\n" .. jin.graphics.getStatsStr(), 450, 10) jin.graphics.unuseShader() jin.graphics.unbindCanvas(screen) - - --jin.graphics.useShader(rgbsplit) + + jin.graphics.useShader(rgbsplit) local mode = jin.graphics.getBlendMode() jin.graphics.setBlendMode(jin.graphics.BlendMode.PREMULTIPLIEDALPHA) jin.graphics.draw(screen, 0, 0) -- cgit v1.1-26-g67d0