Updated Web Browsers (markdown)

Hajime Hoshi 2017-05-27 01:07:40 +09:00
parent 9db2bdc883
commit c41a11c86b

@ -24,7 +24,7 @@ On both Android and iOS, touching is required to start sound. This is the browse
# Emulate context-lost # 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. Note that Ebiten automatically restores images when the context is lost.