mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 07:37:24 +00:00
software_renderer: return the modified region from the render call
Closes #2389
This commit is contained in:
parent
17e7c1f0c7
commit
476ab383ea
2 changed files with 33 additions and 8 deletions
|
@ -168,7 +168,7 @@ pub unsafe extern "C" fn slint_software_renderer_render_rgb8(
|
|||
pixel_stride: usize,
|
||||
) {
|
||||
let buffer = core::slice::from_raw_parts_mut(buffer, buffer_len);
|
||||
(*(r as *const SoftwareRenderer)).render(buffer, pixel_stride)
|
||||
(*(r as *const SoftwareRenderer)).render(buffer, pixel_stride);
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue