소스 검색

Fix missing bptc caps

Popov72 5 년 전
부모
커밋
6cc77ce0e9
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Engines/nativeEngine.ts
  2. 1 0
      src/Engines/nullEngine.ts

+ 1 - 0
src/Engines/nativeEngine.ts

@@ -235,6 +235,7 @@ export class NativeEngine extends Engine {
             pvrtc: null,
             etc1: null,
             etc2: null,
+            bptc: null,
             maxAnisotropy: 16,  // TODO: Retrieve this smartly. Currently set to D3D11 maximum allowable value.
             uintIndices: true,
             fragmentDepthSupported: false,

+ 1 - 0
src/Engines/nullEngine.ts

@@ -121,6 +121,7 @@ export class NullEngine extends Engine {
             pvrtc: null,
             etc1: null,
             etc2: null,
+            bptc: null,
             maxAnisotropy: 0,
             uintIndices: false,
             fragmentDepthSupported: false,