Fix HTML5 antialiasing
This commit is contained in:
@@ -308,7 +308,7 @@ class HTML5Window {
|
|||||||
var options = {
|
var options = {
|
||||||
|
|
||||||
alpha: (transparentBackground || colorDepth > 16) ? true : false,
|
alpha: (transparentBackground || colorDepth > 16) ? true : false,
|
||||||
antialias: Reflect.hasField (contextAttributes, "antialiasing") ? false : false,
|
antialias: Reflect.hasField (contextAttributes, "antialiasing") ? true : false,
|
||||||
depth: Reflect.hasField (contextAttributes, "depth") ? contextAttributes.depth : true,
|
depth: Reflect.hasField (contextAttributes, "depth") ? contextAttributes.depth : true,
|
||||||
premultipliedAlpha: true,
|
premultipliedAlpha: true,
|
||||||
stencil: Reflect.hasField (contextAttributes, "stencil") ? contextAttributes.stencil : false,
|
stencil: Reflect.hasField (contextAttributes, "stencil") ? contextAttributes.stencil : false,
|
||||||
|
|||||||
Reference in New Issue
Block a user