Skip to content

Commit 6a9c62f

Browse files
committed
texture: add internalFormat to copy() method
1 parent 0f55168 commit 6a9c62f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/textures/Texture.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Texture.prototype = Object.assign( Object.create( EventDispatcher.prototype ), {
102102
this.anisotropy = source.anisotropy;
103103

104104
this.format = source.format;
105+
this.internalFormat = source.internalFormat;
105106
this.type = source.type;
106107

107108
this.offset.copy( source.offset );

0 commit comments

Comments
 (0)