Skip to content

Commit 2c75c25

Browse files
committed
Use no stroke in tests
1 parent b3e2007 commit 2c75c25

38 files changed

Lines changed: 2 additions & 0 deletions

File tree

test/unit/visual/cases/webgl.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ visualSuite('WebGL', function() {
9292
p5.createCanvas(50, 50, mode === 'webgl' ? p5.WEBGL : p5.P2D);
9393
if (mode === 'webgl') p5.translate(-p5.width/2, -p5.height/2);
9494
p5.clear();
95+
p5.noStroke();
9596
p5.fill('red');
9697
p5.circle(20, 20, 15);
9798
if (mode === 'webgl') {

test/unit/visual/cases/webgpu.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ visualSuite("WebGPU", function () {
121121
await p5.createCanvas(50, 50, p5.WEBGPU);
122122
p5.translate(-p5.width/2, -p5.height/2);
123123
p5.clear();
124+
p5.noStroke();
124125
p5.fill('red');
125126
p5.circle(20, 20, 15);
126127
p5.beginShape(p5.QUAD_STRIP);
53 Bytes
Loading
40 Bytes
Loading
267 Bytes
Loading
-308 Bytes
Loading
-111 Bytes
Loading
-69 Bytes
Loading
-23 Bytes
Loading
-37 Bytes
Loading

0 commit comments

Comments
 (0)