Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

turn MMX on, to be sure

  • Loading branch information...
commit ad2d2d4d08b76f9ac75da1f4f3053219a5dc0481 1 parent 5315653
@FROGGS FROGGS authored jtpalmer committed
Showing with 4 additions and 3 deletions.
  1. +2 −0  lib/SDL/GFX/ImageFilter.pm
  2. +2 −3 t/gfx_imagefilter.t
View
2  lib/SDL/GFX/ImageFilter.pm
@@ -19,4 +19,6 @@ our %EXPORT_TAGS = (
smoothing => $SDL::Constants::EXPORT_TAGS{'SDL::GFX/smoothing'}
);
+MMX_on();
+
1;
View
5 t/gfx_imagefilter.t
@@ -32,6 +32,8 @@ printf( "got version: %d.%d.%d\n", $v->major, $v->minor, $v->patch );
my @done = qw/
MMX_detect
+ MMX_off
+ MMX_on
/;
my $display = SDL::Video::set_video_mode( 640, 480, 32, SDL_SWSURFACE );
@@ -99,9 +101,6 @@ SDL::Video::update_rect( $display, 0, 0, 640, 480 );
#SDL::delay(1000);
my @left = qw/
- MMX_detect
- MMX_off
- MMX_on
add
mean
sub
Please sign in to comment.
Something went wrong with that request. Please try again.