Call flip properly
Leon Brocard [Fri, 16 Oct 2009 06:58:06 +0000 (07:58 +0100)]
lib/SDL/App.pm

index c924579..afdb5a3 100644 (file)
@@ -195,7 +195,7 @@ sub sync ($) {
        if ($SDL::App::USING_OPENGL) {
                SDL::GLSwapBuffers()
        } else {
-               $self->flip();
+               SDL::Flip($self);
        }
 }