Mercurial > repos > tabletprog
diff modules/sdl.tp @ 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 | 98534108b854 |
children |
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: {