فهرست منبع

Remove unneeded handlers

Popov72 5 سال پیش
والد
کامیت
fe678ae7e7
2فایلهای تغییر یافته به همراه0 افزوده شده و 4 حذف شده
  1. 0 2
      ktx2Decoder/src/Transcoders/liteTranscoder.ts
  2. 0 2
      ktx2Decoder/src/Transcoders/mscTranscoder.ts

+ 0 - 2
ktx2Decoder/src/Transcoders/liteTranscoder.ts

@@ -56,8 +56,6 @@ export class LiteTranscoder extends Transcoder {
             textureView.set(encodedData);
 
             return transcoder.transcode(nBlocks) === 0 ? textureView.slice() : null;
-        }, (reason) => {
-            throw new Error(reason);
         });
     }
 }

+ 0 - 2
ktx2Decoder/src/Transcoders/mscTranscoder.ts

@@ -98,8 +98,6 @@ export class MSCTranscoder extends Transcoder {
             }
 
             return null;
-        }, (reason) => {
-            throw new Error(reason);
         });
     }
 }