提交 1fc2b54f 编写于 作者: M Mr.doob

WebGLState: Fixed typo.

上级 c8baaec2
......@@ -126,7 +126,7 @@ THREE.WebGLState = function ( gl, extensions, paramThreeToGL ) {
if ( extensions.get( 'WEBGL_compressed_texture_pvrtc' ) ||
extensions.get( 'WEBGL_compressed_texture_s3tc' ) ) {
var formats = gl.getParameter( _gl.COMPRESSED_TEXTURE_FORMATS );
var formats = gl.getParameter( gl.COMPRESSED_TEXTURE_FORMATS );
for ( var i = 0; i < formats.length; i ++ ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册