im dumb as hell bruh
This commit is contained in:
parent
04884bd8e3
commit
cf672824a6
@ -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()
|
||||
}
|
||||
|
1
tomo.go
1
tomo.go
@ -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()))
|
||||
|
Reference in New Issue
Block a user