diff --git a/Web-Browsers.md b/Web-Browsers.md index b1a357f..908a52a 100644 --- a/Web-Browsers.md +++ b/Web-Browsers.md @@ -23,7 +23,9 @@ On both Android and iOS, touching is required to start sound. This is the browse # Emulate context-lost -`document.getElementsByTagName("canvas")[0].getContext("webgl").getExtension('WEBGL_lose_context').loseContext() -undefined` +``` +document.getElementsByTagName("canvas")[0].getContext("webgl").getExtension('WEBGL_lose_context').loseContext() +undefined +``` Note that Ebiten automatically restores images when the context is lost.