We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8087eb4 commit a743ae8Copy full SHA for a743ae8
webgl-memory.js
@@ -1,4 +1,4 @@
1
-/* webgl-memory@1.1.1, license MIT */
+/* webgl-memory@1.1.2, license MIT */
2
(function (factory) {
3
typeof define === 'function' && define.amd ? define(factory) :
4
factory();
@@ -68,6 +68,7 @@
68
const DEPTH_COMPONENT32F = 0x8CAC;
69
const DEPTH32F_STENCIL8 = 0x8CAD;
70
const DEPTH24_STENCIL8 = 0x88F0;
71
+ const STENCIL_INDEX8 = 0x8d48;
72
73
/* DataType */
74
// const BYTE = 0x1400;
@@ -166,6 +167,7 @@
166
167
t[DEPTH_COMPONENT32F] = { bytesPerElement: [4], };
168
t[DEPTH24_STENCIL8] = { bytesPerElement: [4], };
169
t[DEPTH32F_STENCIL8] = { bytesPerElement: [4], };
170
+ t[STENCIL_INDEX8] = { bytesPerElement: [1], };
171
172
s_textureInternalFormatInfo = t;
173
}
0 commit comments