|
@@ -3196,7 +3196,7 @@ export class ThinEngine {
|
|
|
|
|
|
var textureType = this._getWebGLTextureType(texture.type);
|
|
var textureType = this._getWebGLTextureType(texture.type);
|
|
var format = this._getInternalFormat(texture.format);
|
|
var format = this._getInternalFormat(texture.format);
|
|
- var internalFormat = babylonInternalFormat === undefined ? this._getRGBABufferInternalSizedFormat(texture.type, format) : this._getInternalFormat(babylonInternalFormat);
|
|
|
|
|
|
+ var internalFormat = babylonInternalFormat === undefined ? this._getRGBABufferInternalSizedFormat(texture.type, texture.format) : this._getInternalFormat(babylonInternalFormat);
|
|
|
|
|
|
this._unpackFlipY(texture.invertY);
|
|
this._unpackFlipY(texture.invertY);
|
|
|
|
|