Fix changes from last commit.
This commit is contained in:
parent
e3756ee7a7
commit
7382a2e26e
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// For OpenGL this defaults to OpenGLTextureSizeCapacity.
|
/// For OpenGL this defaults to OpenGLTextureSizeCapacity.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <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);
|
||||||
|
|
|
@ -785,7 +785,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||||
maximumGpuMemory: GetTotalGPUMemory());
|
maximumGpuMemory: GetTotalGPUMemory());
|
||||||
}
|
}
|
||||||
|
|
||||||
public ulong GetTotalGPUMemory()
|
private ulong GetTotalGPUMemory()
|
||||||
{
|
{
|
||||||
ulong totalMemory = 0;
|
ulong totalMemory = 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue