mobile: Add a comment

This commit is contained in:
Hajime Hoshi 2016-06-11 05:49:53 +09:00
parent 912d498cdf
commit f322aaec02

View File

@ -148,6 +148,10 @@ func (u *userInterface) actualScreenScale() int {
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 {
chResume <- struct{}{}
// Don't have to wait for resumeing done.