Skip to content

Commit

Permalink
Merge pull request #209 from naoei/fix-shader-crash
Browse files Browse the repository at this point in the history
  • Loading branch information
naoei authored Sep 6, 2021
2 parents ceabf7f + 74dec4e commit 979d64c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ lowp vec4 getColourAt(highp vec2 diff, highp vec2 size, lowp vec4 originalColour

void main(void)
{
gl_FragColor = mix(getColourAt(aperturePos - v_Position, apertureSize, v_Colour), vec4(0, 0.0, 0, 1.0), 0);
gl_FragColor = mix(getColourAt(aperturePos - v_Position, apertureSize, v_Colour), vec4(0, 0.0, 0, 1.0), 0.0);
}

0 comments on commit 979d64c

Please sign in to comment.