Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs

Co-authored-by: gdkchan <gab.dark.100@gmail.com>
This commit is contained in:
MaxLastBreath 2024-09-18 22:21:31 +03:00 committed by GitHub
parent 116f07cbb1
commit 0ffb971806
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,6 +63,7 @@ namespace Ryujinx.Graphics.Gpu.Image
/// <summary>
/// Initializes the cache, setting the maximum texture capacity for the specified GPU context.
/// </summary>
<param name="context">The GPU context that the cache belongs to</param>
public void Initialize(GpuContext context)
{
var CacheMemory = (ulong)(context.Capabilities.MaximumGpuMemory * MemoryScaleFactor);