提交 dc71735b 编写于 作者: R Ricardo Cabello

Merge pull request #6619 from nxxcxx/dev

r71 fix 32bit index buffer extension not enable automatically for Line
......@@ -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.
先完成此消息的编辑!
想要评论请 注册