提交 da8a2fea 编写于 作者: N NIX

fix 32bit index buffer extension not enable automatically when rendering Line

上级 a2d9addc
......@@ -1244,7 +1244,7 @@ THREE.WebGLRenderer = function ( parameters ) {
var type, size;
if ( index.array instanceof Uint32Array ) {
if ( index.array instanceof Uint32Array && extensions.get( 'OES_element_index_uint' ) ) {
type = _gl.UNSIGNED_INT;
size = 4;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册