From 6559cfb1435583e5c4e6e7c6f3e7d3e7c9d0a2a3 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 30 Jul 2024 08:59:34 -0400 Subject: [PATCH] examples: make SDL_Log work with the Emscripten console. Fixes #10410. --- examples/template.html | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/template.html b/examples/template.html index f76a73e5f4..3e3c487275 100644 --- a/examples/template.html +++ b/examples/template.html @@ -169,6 +169,7 @@ } }; })(), + printErr: function(text) { Module.print(text) }, canvas: (() => { var canvas = document.getElementById('canvas');