Minor simplification

This commit is contained in:
David Guillen Fandos 2023-08-04 23:17:33 +02:00
parent d1b4f69e32
commit 195e82b615

View file

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