diff options
Diffstat (limited to 'include/gpu/GrUserConfig.h')
-rw-r--r-- | include/gpu/GrUserConfig.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/gpu/GrUserConfig.h b/include/gpu/GrUserConfig.h index 6bae564539..e0ef8605e4 100644 --- a/include/gpu/GrUserConfig.h +++ b/include/gpu/GrUserConfig.h @@ -23,6 +23,12 @@ * This gives a threshold in megabytes for the maximum size of the texture cache * in vram. The value is only a default and can be overridden at runtime. */ -//#define GR_DEFAULT_TEXTURE_CACHE_MB_LIMIT 96 +//#define GR_DEFAULT_RESOURCE_CACHE_MB_LIMIT 96 + +/** + * This specifies the maximum number of textures the texture cache can hold + * in vram. The value is only a default and can be overridden at runtime. + */ +//#define GR_DEFAULT_RESOURCE_CACHE_COUNT_LIMIT 2048 #endif |