Skip to content

Commit a743ae8

Browse files
committed
build
1 parent 8087eb4 commit a743ae8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webgl-memory.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* [email protected].1, license MIT */
1+
/* [email protected].2, license MIT */
22
(function (factory) {
33
typeof define === 'function' && define.amd ? define(factory) :
44
factory();
@@ -68,6 +68,7 @@
6868
const DEPTH_COMPONENT32F = 0x8CAC;
6969
const DEPTH32F_STENCIL8 = 0x8CAD;
7070
const DEPTH24_STENCIL8 = 0x88F0;
71+
const STENCIL_INDEX8 = 0x8d48;
7172

7273
/* DataType */
7374
// const BYTE = 0x1400;
@@ -166,6 +167,7 @@
166167
t[DEPTH_COMPONENT32F] = { bytesPerElement: [4], };
167168
t[DEPTH24_STENCIL8] = { bytesPerElement: [4], };
168169
t[DEPTH32F_STENCIL8] = { bytesPerElement: [4], };
170+
t[STENCIL_INDEX8] = { bytesPerElement: [1], };
169171

170172
s_textureInternalFormatInfo = t;
171173
}

0 commit comments

Comments
 (0)