https://rt.cpan.org/Ticket/Display.html?id=16988
kthakore [Mon, 24 Aug 2009 20:01:20 +0000 (13:01 -0700)]
lib/SDL/App.pm

index b9eaa12..0105eee 100644 (file)
@@ -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);                      
                }
        }
 }