projects
/
sdlgit/SDL_perl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fixed Rect extension test but still not statisfied
[sdlgit/SDL_perl.git]
/
lib
/
SDL
/
Game
/
Rect.pm
diff --git
a/lib/SDL/Game/Rect.pm
b/lib/SDL/Game/Rect.pm
index
f5b754a
..
7d443ae
100644
(file)
--- a/
lib/SDL/Game/Rect.pm
+++ b/
lib/SDL/Game/Rect.pm
@@
-13,7
+13,7
@@
sub new {
my $w = shift || 0;
my $h = shift || 0;
- my $self = \SDL::NewRect($x, $y, $w, $h);
+ my $self = SDL::Rect->new($x, $y, $w, $h);
unless ($$self) {
require Carp;
Carp::croak SDL::GetError();