attempt to fix graphics tests on CI

This commit is contained in:
Sasha Szpakowski
2024-03-21 22:46:42 -03:00
parent 36aa55fb84
commit 6bd08f1d93
2 changed files with 1 additions and 1 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 327 B

After

Width:  |  Height:  |  Size: 100 B

+1 -1
View File
@@ -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[[