internal/uidriver/mobile: Fix the package name in a panic message

This commit is contained in:
Hajime Hoshi 2021-10-16 20:13:36 +09:00
parent c3b4b92fa2
commit ce86a9940c

View File

@ -28,7 +28,7 @@ import (
func (*UserInterface) Graphics() driver.Graphics {
if _, err := mtl.CreateSystemDefaultDevice(); err != nil {
panic(fmt.Sprintf("ebiten: mtl.CreateSystemDefaultDevice failed on iOS: %v", err))
panic(fmt.Sprintf("mobile: mtl.CreateSystemDefaultDevice failed on iOS: %v", err))
}
return metal.Get()
}