summaryrefslogtreecommitdiff
path: root/themes/dist
diff options
context:
space:
mode:
Diffstat (limited to 'themes/dist')
-rw-r--r--themes/dist/output.js11
-rwxr-xr-xthemes/dist/output.wasmbin56705 -> 57898 bytes
2 files changed, 10 insertions, 1 deletions
diff --git a/themes/dist/output.js b/themes/dist/output.js
index 2dd2a7d..79b5f23 100644
--- a/themes/dist/output.js
+++ b/themes/dist/output.js
@@ -2969,6 +2969,14 @@ var ASM_CONSTS = {
function _setTempRet0(val) {
setTempRet0(val);
}
+
+ function _time(ptr) {
+ var ret = (Date.now()/1000)|0;
+ if (ptr) {
+ HEAP32[((ptr)>>2)] = ret;
+ }
+ return ret;
+ }
var GLctx;;
var miniTempWebGLFloatBuffersStorage = new Float32Array(288);
for (/**@suppress{duplicate}*/var i = 0; i < 288; ++i) {
@@ -3051,7 +3059,8 @@ var asmLibraryArg = {
"glUniformMatrix4fv": _glUniformMatrix4fv,
"glUseProgram": _glUseProgram,
"glVertexAttribPointer": _glVertexAttribPointer,
- "setTempRet0": _setTempRet0
+ "setTempRet0": _setTempRet0,
+ "time": _time
};
var asm = createWasm();
/** @type {function(...*):?} */
diff --git a/themes/dist/output.wasm b/themes/dist/output.wasm
index f994bca..8319928 100755
--- a/themes/dist/output.wasm
+++ b/themes/dist/output.wasm
Binary files differ