Permalink
Browse files

proper packing the struct, we have 64 ints man\!

  • Loading branch information...
1 parent 8528c59 commit 8ae1c6d7a759b9fa864ca90713799f2c796b9e29 @FROGGS FROGGS committed Sep 5, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/SDL/Rect.pm6
View
@@ -17,8 +17,7 @@ class SDL::Rect {
method CArray {
my $carr = CArray[int].new();
- $carr[0] = ($!y +< 16) +| $!x;
- $carr[1] = ($!h +< 16) +| $!w;
+ $carr[0] = ($!h +< 48) +| ($!w +< 32) +| ($!y +< 16) +| $!x;
$carr
}
}

0 comments on commit 8ae1c6d

Please sign in to comment.