Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
[Web] fix undefined symbol on closure compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
nokotan committed Oct 4, 2021
1 parent fe0f7de commit 6fe4ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web/Siv3D.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mergeInto(LibraryManager.library, {
const window = GLFW.WindowFromId(windowid);
if (!window) return 0;
if (!window.keysBuffer) {
window.keysBuffer = Module._malloc(349 /* GLFW_KEY_LAST + 1 */);
window.keysBuffer = Module["_malloc"](349 /* GLFW_KEY_LAST + 1 */)
Module["HEAPU8"].fill(0, window.keysBuffer, window.keysBuffer + 348);
}
Module["HEAPU8"].set(window.keys, window.keysBuffer);
Expand Down

0 comments on commit 6fe4ddf

Please sign in to comment.