rs-client: this is correct now i think

This commit is contained in:
ThatGamerBlue
2021-05-20 06:58:09 +01:00
parent 6cac326d9e
commit 67bcc0a860
2 changed files with 5 additions and 5 deletions

View File

@@ -44,9 +44,9 @@ public abstract class RSTextureProviderMixin implements RSTextureProvider
{
// the client's max size is 20, however there are many scenes with >20 textures,
// which causes continuous alloc/free of textures with the gl. There are
// only ~57 textures in total.
setMaxSize(64);
setSize(64);
// only ~90 textures in total.
setMaxSize(128);
setSize(128);
}
@MethodHook(value = "animate", end = true)

View File

@@ -21,13 +21,13 @@ public class TextureProvider implements TextureLoader {
NodeDeque deque;
@ObfuscatedName("o")
@ObfuscatedGetter(
intValue = -687495915
intValue = -381189571
)
@Export("capacity")
int capacity;
@ObfuscatedName("g")
@ObfuscatedGetter(
intValue = 468590337
intValue = 1463275439
)
@Export("remaining")
int remaining;