mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
gfx_animation - simplify code
This commit is contained in:
parent
0946d06e82
commit
991f67a758
@ -510,7 +510,8 @@ static void gfx_animation_ticker_smooth_loop_fw(uint64_t idx,
|
||||
|
||||
/* Determine number of characters to copy */
|
||||
*num_chars_to_copy3 = remaining_width / glyph_width;
|
||||
*num_chars_to_copy3 = (*num_chars_to_copy3 > num_chars) ? num_chars : *num_chars_to_copy3;
|
||||
if (*num_chars_to_copy3 > num_chars)
|
||||
*num_chars_to_copy3 = num_chars;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user