Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Dec 21, 2024
1 parent 8087eb4 commit a743ae8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webgl-memory.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* [email protected].1, license MIT */
/* [email protected].2, license MIT */
(function (factory) {
typeof define === 'function' && define.amd ? define(factory) :
factory();
Expand Down Expand Up @@ -68,6 +68,7 @@
const DEPTH_COMPONENT32F = 0x8CAC;
const DEPTH32F_STENCIL8 = 0x8CAD;
const DEPTH24_STENCIL8 = 0x88F0;
const STENCIL_INDEX8 = 0x8d48;

/* DataType */
// const BYTE = 0x1400;
Expand Down Expand Up @@ -166,6 +167,7 @@
t[DEPTH_COMPONENT32F] = { bytesPerElement: [4], };
t[DEPTH24_STENCIL8] = { bytesPerElement: [4], };
t[DEPTH32F_STENCIL8] = { bytesPerElement: [4], };
t[STENCIL_INDEX8] = { bytesPerElement: [1], };

s_textureInternalFormatInfo = t;
}
Expand Down

0 comments on commit a743ae8

Please sign in to comment.