Skip to content

Commit

Permalink
fixed sdlx_fps failures for cpantester machines, new dev release 2.53…
Browse files Browse the repository at this point in the history
…3_03
  • Loading branch information
FROGGS committed May 3, 2011
1 parent 43b052c commit ee6a7a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -6,6 +6,7 @@ Revision history for Perl extension SDL_perl.
- Build requires: perl 5.8.1 is good enough for SDL [FROGGS] - Build requires: perl 5.8.1 is good enough for SDL [FROGGS]
- SDLx::Music test: 'require threads' instead of 'use threads' and removed Data::Dumper [FROGGS] - SDLx::Music test: 'require threads' instead of 'use threads' and removed Data::Dumper [FROGGS]
- SDLx::Text test: width isnt 53 on windows, made test more tolerant [FROGGS] - SDLx::Text test: width isnt 53 on windows, made test more tolerant [FROGGS]
- SDLx::FPS test: testing with 60fps is too much for some systems (cpantester vm's), reduced to 25 [FROGGS]


* 2.532 March 27 2011 * 2.532 March 27 2011
- Tested and released experimental branch - Tested and released experimental branch
Expand Down
2 changes: 1 addition & 1 deletion lib/SDL.pm
Expand Up @@ -54,7 +54,7 @@ our %EXPORT_TAGS = (
defaults => $SDL::Constants::EXPORT_TAGS{'SDL/defaults'} defaults => $SDL::Constants::EXPORT_TAGS{'SDL/defaults'}
); );


our $VERSION = '2.533_02'; our $VERSION = '2.533_03';
$VERSION = eval $VERSION; $VERSION = eval $VERSION;


print "$VERSION" if ( defined( $ARGV[0] ) && ( $ARGV[0] eq '--SDLperl' ) ); print "$VERSION" if ( defined( $ARGV[0] ) && ( $ARGV[0] eq '--SDLperl' ) );
Expand Down
2 changes: 1 addition & 1 deletion t/sdlx_fps.t
Expand Up @@ -19,7 +19,7 @@ if ( !SDL::TestTool->init(SDL_INIT_VIDEO) ) {


can_ok( 'SDLx::FPS', qw( new set get delay framecount rateticks lastticks rate ) ); can_ok( 'SDLx::FPS', qw( new set get delay framecount rateticks lastticks rate ) );


my $_fps = 60; my $_fps = 25;


my $ticks_start = SDL::get_ticks(); my $ticks_start = SDL::get_ticks();
my $fps = SDLx::FPS->new( fps => $_fps ); my $fps = SDLx::FPS->new( fps => $_fps );
Expand Down

0 comments on commit ee6a7a8

Please sign in to comment.