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
|
||||
cnt--;
|
||||
source_x += dx;
|
||||
if (rotate)
|
||||
source_y += dy;
|
||||
source_x += dx; source_y += dy;
|
||||
}
|
||||
} else {
|
||||
// Specialized version for scaled-only backgrounds
|
||||
|
|
Loading…
Add table
Reference in a new issue