mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-10 10:03:17 +01:00
Updated Web Browsers (markdown)
parent
f52152808a
commit
c0e79da2e7
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user