From 2e324c89f8d7fb14ba8c062704bc549ba2b6e4d4 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Sat, 23 Nov 2024 13:44:20 +0100 Subject: [PATCH] sokol_app.h html5: remove misleading comment --- sokol_app.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/sokol_app.h b/sokol_app.h index 6b8d2b89c..51f8a421d 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -5095,8 +5095,6 @@ EM_JS(void, sapp_js_remove_dragndrop_listeners, (void), { EM_JS(void, sapp_js_init, (const char* c_str_target_selector), { const target_selector_str = UTF8ToString(c_str_target_selector); - // Special way to lookup the canvas by setting Module['canvas'] outside - // the WASM, this may be useful when the canvas can't be setup via document.querySelector() if (Module['canvas'] !== undefined) { if (typeof Module['canvas'] === 'object') { specialHTMLTargets[target_selector_str] = Module['canvas'];