Skip to content

Commit 38b6d83

Browse files
committed
Fixed Canvas Alpha RenderTexture issue. Fix phaserjs#5426
1 parent 8ff62d4 commit 38b6d83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/rendertexture/RenderTexture.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ var RenderTexture = new Class({
12861286

12871287
var matrix = this.camera.matrix;
12881288

1289-
ctx.globalAlpha = this.globalAlpha;
1289+
ctx.globalAlpha = alpha;
12901290

12911291
ctx.setTransform(matrix[0], matrix[1], matrix[2], matrix[3], matrix[4], matrix[5]);
12921292

0 commit comments

Comments
 (0)