mobile/ebitenmobileview: Fix error messages

This commit is contained in:
Hajime Hoshi 2019-09-23 15:55:31 +09:00
parent 899fc38d23
commit dfb89e13e3

View File

@ -32,7 +32,7 @@ func Layout(viewWidth, viewHeight int, viewRectSetter ViewRectSetter) {
defer theState.m.Unlock() defer theState.m.Unlock()
if theState.game == nil { if theState.game == nil {
panic("ebitenmobileview: SetGame must be called before ebitenLayout") panic("ebitenmobileview: SetGame must be called before Layout")
} }
w, h := theState.game.Layout(int(viewWidth), int(viewHeight)) w, h := theState.game.Layout(int(viewWidth), int(viewHeight))