Fixed premultiplied alpha - for webGL transparent canvas
This commit is contained in:
parent
13ef9ea96c
commit
d294f96dcb
3 changed files with 3 additions and 3 deletions
|
@ -5284,7 +5284,7 @@ PIXI.WebGLRenderer = function(width, height, view, transparent, antialias)
|
||||||
this.options = {
|
this.options = {
|
||||||
alpha: this.transparent,
|
alpha: this.transparent,
|
||||||
antialias:!!antialias, // SPEED UP??
|
antialias:!!antialias, // SPEED UP??
|
||||||
premultipliedAlpha:false,
|
premultipliedAlpha:!!transparent,
|
||||||
stencil:true
|
stencil:true
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -46,7 +46,7 @@ PIXI.WebGLRenderer = function(width, height, view, transparent, antialias)
|
||||||
this.options = {
|
this.options = {
|
||||||
alpha: this.transparent,
|
alpha: this.transparent,
|
||||||
antialias:!!antialias, // SPEED UP??
|
antialias:!!antialias, // SPEED UP??
|
||||||
premultipliedAlpha:false,
|
premultipliedAlpha:!!transparent,
|
||||||
stencil:true
|
stencil:true
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue