提交 0c407a86 编写于 作者: M Mugen87

WebGLTextures: Restore order in if-statement.

上级 a9e6a124
......@@ -42,7 +42,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
// only perform resize for certain image types
if ( image instanceof ImageBitmap || image instanceof HTMLImageElement || image instanceof HTMLCanvasElement ) {
if ( image instanceof HTMLImageElement || image instanceof HTMLCanvasElement || image instanceof ImageBitmap ) {
var floor = needsPowerOfTwo ? _Math.floorPowerOfTwo : Math.floor;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册