mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-11 02:23:15 +01:00
Updated Web Browsers (markdown)
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
|
||||
|
||||
```
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user