浏览代码

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,