From 228dc80ef3f5e72c64e2bee5d1c7111059888055 Mon Sep 17 00:00:00 2001 From: espes Date: Mon, 6 Jul 2015 17:21:33 +1000 Subject: [PATCH] make the texture cache smaller again --- hw/xbox/nv2a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xbox/nv2a.c b/hw/xbox/nv2a.c index 696283cca8..e9af0fe946 100644 --- a/hw/xbox/nv2a.c +++ b/hw/xbox/nv2a.c @@ -2514,7 +2514,7 @@ static void pgraph_init(PGRAPHState *pg) NULL, texture_key_retrieve, texture_key_destroy, texture_binding_destroy, NULL, NULL); - g_lru_cache_set_max_size(pg->texture_cache, 512); + g_lru_cache_set_max_size(pg->texture_cache, 128); pg->shader_cache = g_hash_table_new(shader_hash, shader_equal);