@@ -333,7 +333,7 @@ suite('p5.RendererGL', function() {
333333 pg . clear ( ) ;
334334 myp5 . image ( pg , - myp5 . width / 2 , - myp5 . height / 2 ) ;
335335 pixel = myp5 . get ( 0 , 0 ) ;
336- assert . deepEqual ( pixel , [ 0 , 255 , 255 , 255 ] ) ;
336+ assert . deepEqual ( pixel , [ 0 , 0 , 0 , 255 ] ) ;
337337 done ( ) ;
338338 } ) ;
339339
@@ -356,7 +356,7 @@ suite('p5.RendererGL', function() {
356356 pg . background ( 100 , 100 , 100 , 100 ) ;
357357 myp5 . image ( pg , - myp5 . width / 2 , - myp5 . height / 2 ) ;
358358 pixel = myp5 . get ( 0 , 0 ) ;
359- assert . deepEqual ( pixel , [ 39 , 194 , 194 , 194 ] ) ;
359+ assert . deepEqual ( pixel , [ 100 , 100 , 100 , 255 ] ) ;
360360 done ( ) ;
361361 } ) ;
362362
@@ -378,7 +378,7 @@ suite('p5.RendererGL', function() {
378378 pg . clear ( ) ;
379379 myp5 . image ( pg , 0 , 0 ) ;
380380 pixel = myp5 . get ( 0 , 0 ) ;
381- assert . deepEqual ( pixel , [ 0 , 255 , 255 , 255 ] ) ;
381+ assert . deepEqual ( pixel , [ 0 , 0 , 0 , 255 ] ) ;
382382 done ( ) ;
383383 } ) ;
384384
@@ -389,7 +389,7 @@ suite('p5.RendererGL', function() {
389389 pg . background ( 100 , 100 , 100 , 100 ) ;
390390 myp5 . image ( pg , 0 , 0 ) ;
391391 pixel = myp5 . get ( 0 , 0 ) ;
392- assert . deepEqual ( pixel , [ 39 , 194 , 194 , 255 ] ) ;
392+ assert . deepEqual ( pixel , [ 100 , 100 , 100 , 255 ] ) ;
393393 done ( ) ;
394394 } ) ;
395395 } ) ;
@@ -437,8 +437,8 @@ suite('p5.RendererGL', function() {
437437 test ( 'blendModes change pixel colors as expected' , function ( done ) {
438438 myp5 . createCanvas ( 10 , 10 , myp5 . WEBGL ) ;
439439 myp5 . noStroke ( ) ;
440- assert . deepEqual ( [ 133 , 69 , 191 , 158 ] , mixAndReturn ( myp5 . ADD , 255 ) ) ;
441- assert . deepEqual ( [ 0 , 0 , 255 , 122 ] , mixAndReturn ( myp5 . REPLACE , 255 ) ) ;
440+ assert . deepEqual ( [ 133 , 69 , 191 , 255 ] , mixAndReturn ( myp5 . ADD , 255 ) ) ;
441+ assert . deepEqual ( [ 0 , 0 , 255 , 255 ] , mixAndReturn ( myp5 . REPLACE , 255 ) ) ;
442442 assert . deepEqual ( [ 133 , 255 , 133 , 255 ] , mixAndReturn ( myp5 . SUBTRACT , 255 ) ) ;
443443 assert . deepEqual ( [ 255 , 0 , 255 , 255 ] , mixAndReturn ( myp5 . SCREEN , 0 ) ) ;
444444 assert . deepEqual ( [ 0 , 255 , 0 , 255 ] , mixAndReturn ( myp5 . EXCLUSION , 255 ) ) ;
0 commit comments