update blended_pixel_drawing visual test to test an unchecked method too
This commit is contained in:
parent
d238031166
commit
5c2571755a
|
@ -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 |
Loading…
Reference in a new issue