Minor simplification
This commit is contained in:
parent
d1b4f69e32
commit
195e82b615
1 changed files with 1 additions and 3 deletions
4
video.cc
4
video.cc
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue