Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
sbinet committed Jun 19, 2020
1 parent 6f8f66a commit fc59820
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions vg/vggio/example_vg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ func ExampleCanvas() {
p.Draw(draw.New(cnv))
cnv.Paint(e)

case system.DestroyEvent:
if e.Err != nil {
log.Fatalf("could not destroy window: %+v", e.Err)
}
os.Exit(0)

case key.Event:
switch e.Name {
case "Q", key.NameEscape:
Expand Down

0 comments on commit fc59820

Please sign in to comment.