Skip to content

Commit 88f2c3f

Browse files
committed
[Memory64] pthread JS changes for 64-bit
1 parent b55a3c3 commit 88f2c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library_pthread.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ var LibraryPThread = {
666666
// Deduce which WebGL canvases (HTMLCanvasElements or OffscreenCanvases) should be passed over to the
667667
// Worker that hosts the spawned pthread.
668668
// Comma-delimited list of CSS selectors that must identify canvases by IDs: "#canvas1, #canvas2, ..."
669-
var transferredCanvasNames = attr ? {{{ makeGetValue('attr', 36, 'i32') }}} : 0;
669+
var transferredCanvasNames = attr ? {{{ makeGetValue('attr', 40, POINTER_TYPE) }}} : 0;
670670
#if OFFSCREENCANVASES_TO_PTHREAD
671671
// Proxied canvases string pointer -1 is used as a special token to fetch
672672
// whatever canvases were passed to build in -s

0 commit comments

Comments
 (0)