未验证 提交 253d4411 编写于 作者: P Peter Varga 提交者: GitHub

Fix for runtime error that happens when null is provided as context (#23969)

上级 6b8c4c00
......@@ -69,7 +69,7 @@ function WebGLRenderer( parameters = {} ) {
let _alpha;
if ( parameters.context !== undefined ) {
if ( _context !== null ) {
_alpha = _context.getContextAttributes().alpha;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册