Simplify accelerated texture and rectangle fills

There's no need to split the areas to span lines.
This commit is contained in:
Simon Hausmann 2025-02-21 10:07:53 +01:00 committed by Simon Hausmann
parent dde0ebe201
commit 247074b5e7
3 changed files with 41 additions and 51 deletions

View file

@ -411,7 +411,6 @@ mod software_renderer {
i16,
i16,
i16,
i16,
&CppInternalTexture,
u32,
u8,
@ -465,7 +464,6 @@ mod software_renderer {
y: i16,
width: i16,
height: i16,
span_y: i16,
texture: Texture<'_>,
colorize: u32,
alpha: u8,
@ -478,7 +476,6 @@ mod software_renderer {
y,
width,
height,
span_y,
&CppInternalTexture {
bytes: texture.bytes.as_ptr(),
bytes_len: texture.bytes.len(),
@ -527,7 +524,6 @@ mod software_renderer {
i16,
i16,
i16,
i16,
&CppInternalTexture,
u32,
u8,
@ -581,7 +577,6 @@ mod software_renderer {
y: i16,
width: i16,
height: i16,
span_y: i16,
texture: Texture<'_>,
colorize: u32,
alpha: u8,
@ -594,7 +589,6 @@ mod software_renderer {
y,
width,
height,
span_y,
&CppInternalTexture {
bytes: texture.bytes.as_ptr(),
bytes_len: texture.bytes.len(),