Browse Source

Fix missing bptc caps

Popov72 5 years ago
parent
commit
6cc77ce0e9
2 changed files with 2 additions and 0 deletions
  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,