未验证 提交 4c774e6b 编写于 作者: M Michael Herzog 提交者: GitHub

Revert "WebGLTextures: CubeTexture from CompressedTextures signature bug"

上级 387e361e
......@@ -370,7 +370,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
_gl.pixelStorei( _gl.UNPACK_FLIP_Y_WEBGL, texture.flipY );
var isCompressed = ( texture.image[ 0 ] && texture.image[ 0 ].isCompressedTexture );
var isCompressed = ( texture && texture.isCompressedTexture );
var isDataTexture = ( texture.image[ 0 ] && texture.image[ 0 ].isDataTexture );
var cubeImage = [];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册