From: kthakore Date: Mon, 24 Aug 2009 20:01:20 +0000 (-0700) Subject: https://rt.cpan.org/Ticket/Display.html?id=16988 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d73cbe8a87257b34b346b2c00d97e0547ab75175;hp=4d61573d72bf4b682aa45225d09907951c0edaf5;p=sdlgit%2FSDL_perl.git https://rt.cpan.org/Ticket/Display.html?id=16988 --- diff --git a/lib/SDL/App.pm b/lib/SDL/App.pm index b9eaa12..0105eee 100644 --- a/lib/SDL/App.pm +++ b/lib/SDL/App.pm @@ -185,8 +185,7 @@ sub loop ($$) { my $event = new SDL::Event; while ( $event->wait() ) { if ( ref($$href{$event->type()}) eq "CODE" ) { - &{$$href{$event->type()}}($event); - $self->sync(); + &{$$href{$event->type()}}($event); } } }