im dumb as hell bruh

This commit is contained in:
Sasha Koshka 2023-03-08 21:05:56 -05:00
parent 04884bd8e3
commit cf672824a6
2 changed files with 2 additions and 1 deletions

View File

@ -11,8 +11,8 @@ func main () {
func run () {
window, _ := tomo.NewWindow(480, 360)
window.SetTitle("Draw Test")
window.Adopt(testing.NewArtist())
window.OnClose(tomo.Stop)
window.Show()
ez.Prof()
}

View File

@ -16,6 +16,7 @@ var backend Backend
// the backend experiences a fatal error.
func Run (callback func ()) (err error) {
backend, err = instantiateBackend()
if err != nil { return }
config := parseConfig()
backend.SetConfig(config)
backend.SetTheme(parseTheme(config.ThemePath()))