diff --git a/testing/output/expected/love.test.graphics.Canvas-3.png b/testing/output/expected/love.test.graphics.Canvas-3.png index d3e9c37f8..15a5cf8e3 100644 Binary files a/testing/output/expected/love.test.graphics.Canvas-3.png and b/testing/output/expected/love.test.graphics.Canvas-3.png differ diff --git a/testing/tests/graphics.lua b/testing/tests/graphics.lua index 2ad615835..6e61ad830 100644 --- a/testing/tests/graphics.lua +++ b/testing/tests/graphics.lua @@ -204,7 +204,7 @@ love.test.graphics.Canvas = function(test) -- check y-down local shader1 = love.graphics.newShader[[ vec4 effect(vec4 c, Image tex, vec2 tc, vec2 pc) { - return vec4(tc, 0.0, 1.0); + return tc.y > 0.5 ? vec4(1.0, 0.0, 0.0, 1.0) : vec4(0.0, 1.0, 0.0, 1.0); } ]] local shader2 = love.graphics.newShader[[