examples: make SDL_Log work with the Emscripten console.

Fixes #10410.
This commit is contained in:
Ryan C. Gordon committed 2024-07-30 08:59:52 -04:00
1 parent fbed34a645
commit 6559cfb143
1 file changed
+1
+1
View File
@@ -169,6 +169,7 @@
}
};
})(),
printErr: function(text) { Module.print(text) },
canvas: (() => {
var canvas = document.getElementById('canvas');