feat(init,display): loader streams ELF segments (any size, kills half-built proc); window pixels RGBA8 premul (tiny-skia native), canvas mapped plain memory + pixels_mut/touch
This commit is contained in:
@@ -67,7 +67,7 @@ impl Host for KernelHost {
|
||||
if at + PIXEL_BYTES > window.len() {
|
||||
return;
|
||||
}
|
||||
*px = Color::from_raw(window.read::<u32>(ByteOffset::new(at)));
|
||||
*px = Color::from_rgba(window.read::<u32>(ByteOffset::new(at)).to_le_bytes());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user