From c41a11c86bc4f091f4f6f941acb6177cf9741d7f Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 27 May 2017 01:07:40 +0900 Subject: [PATCH] Updated Web Browsers (markdown) --- Web-Browsers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.