Do not fail if major performance caveat and WebGL was requested

This commit is contained in:
Joshua Granick
2020-12-17 12:37:11 -08:00
parent aeb6c415c5
commit a22d55762a

View File

@@ -287,7 +287,7 @@ class HTML5Window
premultipliedAlpha: true,
stencil: Reflect.hasField(contextAttributes, "stencil") ? contextAttributes.stencil : false,
preserveDrawingBuffer: false,
failIfMajorPerformanceCaveat: true
failIfMajorPerformanceCaveat: false
};
var glContextType = ["webgl", "experimental-webgl"];