MAINT-3859 Fixed Texture animation flicker at certain frame rates

master
andreykproductengine 2018-01-16 17:22:17 +02:00
parent df45a4ef14
commit 4e808cfa85
1 changed files with 2 additions and 4 deletions

View File

@ -138,10 +138,8 @@ S32 LLViewerTextureAnim::animateTextures(F32 &off_s, F32 &off_t,
{
frame_counter = fmod(frame_counter, full_length);
}
else
{
frame_counter = llmin(full_length - 1.f, frame_counter);
}
frame_counter = llmin(full_length - 1.f, frame_counter);
if (!(mMode & SMOOTH))
{