|
@@ -1,5 +1,5 @@
|
|
|
// threejs.org/license
|
|
|
-const REVISION = '124';
|
|
|
+const REVISION = '125dev';
|
|
|
const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
|
|
|
const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
|
|
|
const CullFaceNone = 0;
|
|
@@ -21099,6 +21099,8 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
|
|
|
state.bindTexture( 34067, textureProperties.__webglTexture );
|
|
|
|
|
|
_gl.pixelStorei( 37440, texture.flipY );
|
|
|
+ _gl.pixelStorei( 37441, texture.premultiplyAlpha );
|
|
|
+ _gl.pixelStorei( 3317, texture.unpackAlignment );
|
|
|
|
|
|
const isCompressed = ( texture && ( texture.isCompressedTexture || texture.image[ 0 ].isCompressedTexture ) );
|
|
|
const isDataTexture = ( texture.image[ 0 ] && texture.image[ 0 ].isDataTexture );
|