未验证 提交 f3efc525 编写于 作者: D drpritch 提交者: GitHub

When unable to create GL context, throw meaningful error rather than later...

When unable to create GL context, throw meaningful error rather than later failing in extensions.get()
上级 de1c2c4c
......@@ -232,7 +232,7 @@ function WebGLRenderer( parameters ) {
} catch ( error ) {
console.error( 'THREE.WebGLRenderer: ' + error.message );
throw error;
}
var extensions, capabilities, state, info;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册