mirror of https://github.com/xemu-project/xemu.git
make the texture cache smaller again
This commit is contained in:
parent
9d9c29bd34
commit
228dc80ef3
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue