Browse Source

Update babylon.engine.ts

Trevor Baron 6 năm trước cách đây
mục cha
commit
bb0e1730af
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Engine/babylon.engine.ts

+ 1 - 1
src/Engine/babylon.engine.ts

@@ -4263,7 +4263,7 @@ module BABYLON {
 
             let loader: Nullable<IInternalTextureLoader> = null;
             for (let availableLoader of Engine._TextureLoaders) {
-                if (excludeLoaders.indexOf(availableLoader) == -1 && availableLoader.canLoad(extension, this._textureFormatInUse, fallback, isBase64, buffer ? true : false)) {
+                if (excludeLoaders.indexOf(availableLoader) === -1 && availableLoader.canLoad(extension, this._textureFormatInUse, fallback, isBase64, buffer ? true : false)) {
                     loader = availableLoader;
                     break;
                 }