renaming scene

This commit is contained in:
Alex Yatskov 2018-12-31 20:44:30 -08:00
parent 928e8598d6
commit 55817d4511

View File

@ -42,7 +42,7 @@ type scene struct {
}
func (s *scene) Name() string {
return "Viewer"
return "viewer"
}
func (s *scene) Destroy(window *platform.Window) error {
@ -147,7 +147,7 @@ func main() {
}
scene := &scene{sprite: sprite, palette: palette}
window, err := platform.NewWindow("viewer", math.Vec2i{X: 1024, Y: 768}, scene)
window, err := platform.NewWindow("Viewer", math.Vec2i{X: 1024, Y: 768}, scene)
if err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)