From ffe827ab5a25ee033dbea2374fd93b84bebc0788 Mon Sep 17 00:00:00 2001 From: Guilherme Silva Date: Tue, 19 Dec 2017 15:18:07 -0200 Subject: Fix pixel snap not being used in 3.0 --- drivers/gles3/shaders/canvas.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gles3/shaders/canvas.glsl') diff --git a/drivers/gles3/shaders/canvas.glsl b/drivers/gles3/shaders/canvas.glsl index 4bbb18ce42..0b8230234b 100644 --- a/drivers/gles3/shaders/canvas.glsl +++ b/drivers/gles3/shaders/canvas.glsl @@ -171,7 +171,7 @@ VERTEX_SHADER_CODE #ifdef USE_PIXEL_SNAP - outvec.xy=floor(outvec+0.5); + outvec.xy=floor(outvec+0.5).xy; #endif -- cgit v1.2.3