examples/flappy: typo

This commit is contained in:
Hajime Hoshi 2022-10-14 16:51:32 +09:00
parent 30cc36b1ba
commit d2eeca3067

View File

@ -459,7 +459,7 @@ func (g *GameWithCRTEffect) DrawFinalScreen(screen ebiten.FinalScreen, offscreen
if g.crtShader == nil {
s, err := ebiten.NewShader(crtGo)
if err != nil {
panic(fmt.Sprintf("flappy: filed to compiled the CRT shader: %v", err))
panic(fmt.Sprintf("flappy: failed to compiled the CRT shader: %v", err))
}
g.crtShader = s
}