|
|
@@ -89,8 +89,8 @@ export default class WebglRenderVap extends VapVideo {
|
|
|
}
|
|
|
if (!gl) {
|
|
|
this.instance.gl = gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl');
|
|
|
- gl.enable(gl.BLEND);
|
|
|
- gl.blendFuncSeparate(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA, gl.ONE, gl.ONE_MINUS_SRC_ALPHA);
|
|
|
+ gl.disable(gl.BLEND);
|
|
|
+ gl.blendFuncSeparate(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA, gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA);
|
|
|
gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, true);
|
|
|
}
|
|
|
|