diff --git a/Web-Browsers.md b/Web-Browsers.md index d1d53ea..ab584a5 100644 --- a/Web-Browsers.md +++ b/Web-Browsers.md @@ -24,7 +24,7 @@ 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() +document.getElementsByTagName("canvas")[0].getContext("webgl").getExtension('WEBGL_lose_context').loseContext(); ``` Note that Ebiten automatically restores images when the context is lost.