Add span_y to draw_texture to fix partial texture draws

This commit is contained in:
Sam Cristall 2025-02-12 15:40:21 -07:00 committed by Simon Hausmann
parent 3855cf6b9c
commit 491cb2f911
3 changed files with 19 additions and 11 deletions

View file

@ -390,6 +390,7 @@ mod software_renderer {
i16,
i16,
i16,
i16,
*const u8,
u16,
i16,
@ -450,6 +451,7 @@ mod software_renderer {
y: i16,
width: i16,
height: i16,
span_y: i16,
src: *const u8,
src_stride: u16,
src_width: i16,
@ -470,6 +472,7 @@ mod software_renderer {
y,
width,
height,
span_y,
src,
src_stride,
src_width,
@ -514,6 +517,7 @@ mod software_renderer {
i16,
i16,
i16,
i16,
*const u8,
u16,
i16,
@ -574,6 +578,7 @@ mod software_renderer {
y: i16,
width: i16,
height: i16,
span_y: i16,
src: *const u8,
src_stride: u16,
src_width: i16,
@ -594,6 +599,7 @@ mod software_renderer {
y,
width,
height,
span_y,
src,
src_stride,
src_width,