projects
/
sdlgit/SDL_perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
196422a
)
Windows need pump_events before wait_events
Kartik Thakore [Mon, 9 Nov 2009 15:22:34 +0000 (10:22 -0500)]
t/core_events.t
patch
|
blob
|
blame
|
history
diff --git
a/t/core_events.t
b/t/core_events.t
index
909c6e9
..
843a618
100644
(file)
--- a/
t/core_events.t
+++ b/
t/core_events.t
@@
-147,6
+147,8
@@
is( $got_event, 1, '[poll_event] Got the right event back out') ;
SDL::Events::push_event($weevent); pass '[push_event] ran';
+SDL::Events::pump_events();
+
my $value = SDL::Events::wait_event($event);
is( $value, 1, '[wait_event] waited for event');