@@ -2042,7 +2042,7 @@ suite('p5.RendererGL', function() {
20422042 '_tesselateShape'
20432043 ) . mockImplementation ( ( ) => { } ) ;
20442044
2045- myp5 . beginShape ( myp5 . TESS ) ;
2045+ myp5 . beginShape ( ) ;
20462046 for ( let i = 0 ; i < 60000 ; i ++ ) {
20472047 myp5 . vertex ( i % 100 , Math . floor ( i / 100 ) , 0 ) ;
20482048 }
@@ -2064,7 +2064,7 @@ suite('p5.RendererGL', function() {
20642064 '_tesselateShape'
20652065 ) . mockImplementation ( ( ) => { } ) ;
20662066
2067- myp5 . beginShape ( myp5 . TESS ) ;
2067+ myp5 . beginShape ( ) ;
20682068 for ( let i = 0 ; i < 60000 ; i ++ ) {
20692069 myp5 . vertex ( i % 100 , Math . floor ( i / 100 ) , 0 ) ;
20702070 }
@@ -2073,7 +2073,7 @@ suite('p5.RendererGL', function() {
20732073 expect ( confirmSpy ) . toHaveBeenCalledTimes ( 1 ) ;
20742074 expect ( renderer . _largeTessellationAcknowledged ) . toBe ( true ) ;
20752075
2076- myp5 . beginShape ( myp5 . TESS ) ;
2076+ myp5 . beginShape ( ) ;
20772077 for ( let i = 0 ; i < 60000 ; i ++ ) {
20782078 myp5 . vertex ( i % 100 , Math . floor ( i / 100 ) , 0 ) ;
20792079 }
@@ -2094,7 +2094,7 @@ suite('p5.RendererGL', function() {
20942094 ) . mockImplementation ( ( ) => { } ) ;
20952095 p5 . disableFriendlyErrors = true ;
20962096
2097- myp5 . beginShape ( myp5 . TESS ) ;
2097+ myp5 . beginShape ( ) ;
20982098 for ( let i = 0 ; i < 60000 ; i ++ ) {
20992099 myp5 . vertex ( i % 100 , Math . floor ( i / 100 ) , 0 ) ;
21002100 }
@@ -2112,7 +2112,7 @@ suite('p5.RendererGL', function() {
21122112 const renderer = myp5 . createCanvas ( 10 , 10 , myp5 . WEBGL ) ;
21132113 const confirmSpy = vi . spyOn ( window , 'confirm' ) . mockReturnValue ( false ) ;
21142114
2115- myp5 . beginShape ( myp5 . TESS ) ;
2115+ myp5 . beginShape ( ) ;
21162116 myp5 . vertex ( - 10 , - 10 , 0 ) ;
21172117 myp5 . vertex ( 10 , - 10 , 0 ) ;
21182118 myp5 . vertex ( 10 , 10 , 0 ) ;
0 commit comments