Mercurial > repos > tabletprog
changeset 345:6bbf12c203f7
Actually call SDL_WaitEvent rather than SDL_PollEvent in the waitEvent method
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 08 Apr 2015 19:29:52 -0700 |
parents | 7de6ac24eb64 |
children | fd4e0bf5bd9f |
files | modules/sdl.tp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/modules/sdl.tp Wed Apr 08 19:29:22 2015 -0700 +++ b/modules/sdl.tp Wed Apr 08 19:29:52 2015 -0700 @@ -908,7 +908,7 @@ } waitEvent <- { - _helper pollEvent: :typ tstamp eventPtr { + _helper waitEvent: :typ tstamp eventPtr { _eventConstructors ifget: typ :handler { handler: typ tstamp eventPtr } else: {