Closed valantonini closed 4 months ago
hi,
tried to run the example and received:
# command-line-arguments ./main.go:34:9: impossible type switch case: sdl.QuitEvent event (variable of type sdl.Event) cannot have dynamic type sdl.QuitEvent (method GetTimestamp has pointer receiver)
Looks like a pointer is needed in the switch.
cheers,
val
Hi @valantonini, the example applies for the master branch. I presume you used v0.4.x?
master
v0.4.x
apologies. i was on 0.4.38.
hi,
tried to run the example and received:
Looks like a pointer is needed in the switch.
cheers,
val