mirror of https://github.com/Ryujinx/Ryujinx.git
Update src/Ryujinx.Graphics.Gpu/Image/AutoDeleteCache.cs
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
This commit is contained in:
parent
527d169831
commit
43a994f5d2
|
@ -63,7 +63,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes the cache, setting the maximum texture capacity for the specified GPU context.
|
/// Initializes the cache, setting the maximum texture capacity for the specified GPU context.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="context"> The GPU context that the cache belongs to</param>
|
/// <param name="context">The GPU context that the cache belongs to</param>
|
||||||
public void Initialize(GpuContext context)
|
public void Initialize(GpuContext context)
|
||||||
{
|
{
|
||||||
var CacheMemory = (ulong)(context.Capabilities.MaximumGpuMemory * MemoryScaleFactor);
|
var CacheMemory = (ulong)(context.Capabilities.MaximumGpuMemory * MemoryScaleFactor);
|
||||||
|
|
Loading…
Reference in New Issue