update blended_pixel_drawing visual test to test an unchecked method too

This commit is contained in:
Gered 2023-03-26 16:29:55 -04:00
parent d238031166
commit 5c2571755a
2 changed files with 9 additions and 0 deletions

View file

@ -144,6 +144,15 @@ fn blended_pixel_drawing() {
screen.set_blended_pixel(319 - i, 239 - i, 4, &blend_map);
}
unsafe {
for i in 0..10 {
screen.set_blended_pixel_unchecked(5 + i, 0 + i, 1, &blend_map);
screen.set_blended_pixel_unchecked(314 - i, 0 + i, 2, &blend_map);
screen.set_blended_pixel_unchecked(5 + i, 239 - i, 3, &blend_map);
screen.set_blended_pixel_unchecked(314 - i, 239 - i, 4, &blend_map);
}
}
//////
for i in 0..10 {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB