Update sprite.frag

This commit is contained in:
peabrainiac
2019-03-03 17:55:55 +01:00
committed by GitHub
parent 61bf4c84c3
commit 996a1d6cf7

View File

@@ -194,12 +194,6 @@ void main()
discard;
}
#endif // DRAW_MODE_colorMask
// WebGL defaults to premultiplied alpha
#ifndef DRAW_MODE_stamp
gl_FragColor.rgb *= gl_FragColor.a;
#endif // DRAW_MODE_stamp
#endif // DRAW_MODE_silhouette
#else // DRAW_MODE_lineSample