mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
mobile: Add a comment
This commit is contained in:
parent
912d498cdf
commit
f322aaec02
@ -148,6 +148,10 @@ func (u *userInterface) actualScreenScale() int {
|
|||||||
return u.scale
|
return u.scale
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Remove Resume() and do resuming in Update instead.
|
||||||
|
// In Update, we'd be able to detect GL context lost by glIsTexture or something,
|
||||||
|
// and we can do resuming when detecting it.
|
||||||
|
|
||||||
func Resume() error {
|
func Resume() error {
|
||||||
chResume <- struct{}{}
|
chResume <- struct{}{}
|
||||||
// Don't have to wait for resumeing done.
|
// Don't have to wait for resumeing done.
|
||||||
|
Loading…
Reference in New Issue
Block a user