File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2755,7 +2755,7 @@ suite('p5.RendererGL', function() {
2755
2755
2756
2756
const gl = myp5 . _renderer . GL ;
2757
2757
gl . enable ( gl . STENCIL_TEST ) ;
2758
-
2758
+ assert . equal ( gl . isEnabled ( gl . STENCIL_TEST ) , true )
2759
2759
myp5 . redraw ( ) ;
2760
2760
2761
2761
assert . equal ( gl . isEnabled ( gl . STENCIL_TEST ) , true ) ;
@@ -2776,6 +2776,7 @@ suite('p5.RendererGL', function() {
2776
2776
myp5 . clip ( ( ) => {
2777
2777
myp5 . rect ( 0 , 0 , 10 , 10 ) ;
2778
2778
} ) ;
2779
+ assert . equal ( gl . isEnabled ( gl . STENCIL_TEST ) , true )
2779
2780
myp5 . pop ( ) ;
2780
2781
2781
2782
assert . equal ( myp5 . _renderer . _userEnabledStencil , true ) ;
@@ -2795,6 +2796,7 @@ suite('p5.RendererGL', function() {
2795
2796
myp5 . clip ( ( ) => {
2796
2797
myp5 . rect ( 0 , 0 , 10 , 10 ) ;
2797
2798
} ) ;
2799
+ assert . equal ( gl . isEnabled ( gl . STENCIL_TEST ) , true )
2798
2800
myp5 . pop ( ) ;
2799
2801
2800
2802
myp5 . redraw ( ) ;
@@ -2883,5 +2885,5 @@ suite('p5.RendererGL', function() {
2883
2885
myp5 . createCanvas ( 50 , 50 , myp5 . WEBGL ) ;
2884
2886
myp5 . checkPMatrix ( ) ;
2885
2887
} ) ;
2886
- } ) ;
2888
+ } ) ;
2887
2889
} ) ;
You can’t perform that action at this time.
0 commit comments