diff --git a/examples/webgl_nearestneighbour.html b/examples/webgl_nearestneighbour.html index 0bbe42c57834cd..ba0ca1c5c8bc26 100644 --- a/examples/webgl_nearestneighbour.html +++ b/examples/webgl_nearestneighbour.html @@ -63,8 +63,8 @@ void main() { - gl_FragColor = texture2D(tex1, gl_PointCoord); - gl_FragColor.r = (1.0 - gl_FragColor.r) * vAlpha + gl_FragColor.r; + gl_FragColor = texture2D( tex1, gl_PointCoord ); + gl_FragColor.r = ( 1.0 - gl_FragColor.r ) * vAlpha + gl_FragColor.r; } @@ -72,12 +72,9 @@