Skip to content

Commit

Permalink
make check report where run from, set rop2 each run
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Sep 24, 2024
1 parent 6db3140 commit 238c436
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/Object/GPState.t
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ my ($bits1, $bits2);

sub check
{
local $Test::Builder::Level = $Test::Builder::Level + 1;
my ( $method, $value1, $value2, %opt) = @_;
my $xaa = $d->antialias ? '.aa' : '';
$d->$method($value1);
Expand All @@ -157,6 +158,7 @@ $d->antialias(0);

for my $aa ( 0, 1) {
next if $aa && !$can_antialias;
$d->rop2(rop::NoOper);
$d->antialias($aa);
$d->clipRect(0,0,8,8);
my $xaa = $aa ? '.aa' : '';
Expand Down

0 comments on commit 238c436

Please sign in to comment.