Fix HTML5 antialiasing

This commit is contained in:
Joshua Granick
2018-10-02 16:47:36 -07:00
parent 0692c2ff8f
commit 5293d5319d

View File

@@ -308,7 +308,7 @@ class HTML5Window {
var options = {
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,
premultipliedAlpha: true,
stencil: Reflect.hasField (contextAttributes, "stencil") ? contextAttributes.stencil : false,