diff --git a/internal/ui/ui_mobile.go b/internal/ui/ui_mobile.go index 25d14399d..850f1a0b8 100644 --- a/internal/ui/ui_mobile.go +++ b/internal/ui/ui_mobile.go @@ -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.