Skip to content
Snippets Groups Projects
Commit 4e808cfa authored by andreykproductengine's avatar andreykproductengine
Browse files

MAINT-3859 Fixed Texture animation flicker at certain frame rates

parent df45a4ef
No related branches found
No related tags found
No related merge requests found
...@@ -138,10 +138,8 @@ S32 LLViewerTextureAnim::animateTextures(F32 &off_s, F32 &off_t, ...@@ -138,10 +138,8 @@ S32 LLViewerTextureAnim::animateTextures(F32 &off_s, F32 &off_t,
{ {
frame_counter = fmod(frame_counter, full_length); 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)) if (!(mMode & SMOOTH))
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment