events: Reduce allocation in poll-event.
authorDavid Thompson <dthompson2@worcester.edu>
Sat, 31 Dec 2016 18:30:14 +0000 (13:30 -0500)
committerDavid Thompson <dthompson2@worcester.edu>
Sat, 31 Dec 2016 18:31:18 +0000 (13:31 -0500)
commit54d8e6b0332056522b6e62b20948a9fa89572a19
tree830c22e1bca3922fbd80b2942897e6e41ced319b
parent94d459fd7214580d2b4203f3be143cb724a29bbf
events: Reduce allocation in poll-event.

* sdl2/events.scm (poll-event): Reuse the same event structure for each
call.
sdl2/events.scm