Fix animated textures from stopping.
This prevents animated textures that are still a valid size from stop animating. Off screen textures will stop so if turned fast, there may be a slight stutter until the face's virtual size has been updated.master
parent
334283bc67
commit
212bc9c0b3
|
|
@ -52,7 +52,12 @@ class LLDrawInfo;
|
|||
class LLMeshSkinInfo;
|
||||
|
||||
const F32 MIN_ALPHA_SIZE = 1024.f;
|
||||
const F32 MIN_TEX_ANIM_SIZE = 512.f;
|
||||
// <FS:minerjr>
|
||||
//const F32 MIN_TEX_ANIM_SIZE = 512.f;
|
||||
// Reduce the cut off point of the animated textures down to the size when textures get discarded/set to invalid size.
|
||||
// This should prevent "on screen" animated textures from stopping.
|
||||
const F32 MIN_TEX_ANIM_SIZE = 16.f;
|
||||
// </FS:minerjr>
|
||||
const U8 FACE_DO_NOT_BATCH_TEXTURES = 255;
|
||||
|
||||
class alignas(16) LLFace
|
||||
|
|
|
|||
Loading…
Reference in New Issue