From a743ae897fd945927ac576adeddec05134ab8413 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Sun, 22 Dec 2024 00:43:04 +0900 Subject: [PATCH] build --- webgl-memory.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webgl-memory.js b/webgl-memory.js index ad98dac..a8bfab6 100644 --- a/webgl-memory.js +++ b/webgl-memory.js @@ -1,4 +1,4 @@ -/* webgl-memory@1.1.1, license MIT */ +/* webgl-memory@1.1.2, license MIT */ (function (factory) { typeof define === 'function' && define.amd ? define(factory) : factory(); @@ -68,6 +68,7 @@ const DEPTH_COMPONENT32F = 0x8CAC; const DEPTH32F_STENCIL8 = 0x8CAD; const DEPTH24_STENCIL8 = 0x88F0; + const STENCIL_INDEX8 = 0x8d48; /* DataType */ // const BYTE = 0x1400; @@ -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; }