Minor simplification

This commit is contained in:
David Guillen Fandos 2023-08-04 23:17:33 +02:00
parent d1b4f69e32
commit 195e82b615
1 changed files with 1 additions and 3 deletions

View File

@ -539,9 +539,7 @@ static inline void render_affine_background(
// Move to the next pixel, update coords accordingly
cnt--;
source_x += dx;
if (rotate)
source_y += dy;
source_x += dx; source_y += dy;
}
} else {
// Specialized version for scaled-only backgrounds