Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
This commit is contained in:
parent
ed4ca034b4
commit
3d07f6323b
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||
|
||||
_maxCacheMemoryUsage = Math.Clamp(CacheMemory, MinTextureSizeCapacity, MaxTextureSizeCapacity);
|
||||
|
||||
if (CacheMemory == 0)
|
||||
if (context.Capabilities.MaximumGpuMemory == 0)
|
||||
{
|
||||
_maxCacheMemoryUsage = DefaultTextureSizeCapacity;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue