Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 8ae1c6d7a759b9fa864ca90713799f2c796b9e29 1 parent 8528c59
@FROGGS FROGGS authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/SDL/Rect.pm6
View
3  lib/SDL/Rect.pm6
@@ -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
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.