all repos — mgba @ 3851a8230bdf641ba9df41691bd76c6366b9a0df

mGBA Game Boy Advance Emulator

comment fix
drummyfish tastyfish@seznam.cz
Mon, 15 May 2017 20:42:38 +0200
commit

3851a8230bdf641ba9df41691bd76c6366b9a0df

parent

2fff4eac674acf0b936557c68ed624ddbcf29a6f

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M res/shaders/fish.shader/fish.fsres/shaders/fish.shader/fish.fs

@@ -130,9 +130,9 @@ return straight_line(a,b,c,d);

else if (cd) // horizontal line 2? return straight_line(c,d,a,b); - else if (ac) // horizontal line 3? + else if (ac) // vertical line 1? return straight_line(a,c,b,d); - else if (bd) // horizontal line 4? + else if (bd) // vertical line 2? return straight_line(b,d,a,c); return( mix(mix(a,b,0.5), mix(c,d,0.5), 0.5) );