Skip to content

Commit

Permalink
Merge pull request #123 from mohawk2/fix-test
Browse files Browse the repository at this point in the history
Fix test under latest Wayland
  • Loading branch information
dk authored Sep 24, 2024
2 parents 6db3140 + 238c436 commit 943d8ee
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 943d8ee

Please sign in to comment.