Change to float Multiplier, in-case it needs fine-tuning.
This commit is contained in:
parent
ab03806257
commit
2f5be2c6ee
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||||
private readonly GpuContext _context;
|
private readonly GpuContext _context;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets MaxTextureCapacity dynamically.
|
/// Gets MaxTextureCapacity Dynamically
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private ulong GetMaxTextureCapacity() {
|
private ulong GetMaxTextureCapacity() {
|
||||||
Capabilities capabilities = _context.Capabilities;
|
Capabilities capabilities = _context.Capabilities;
|
||||||
|
@ -71,7 +71,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return capabilities.MaximumGpuMemory / 2;
|
return (ulong)(capabilities.MaximumGpuMemory * 0.50);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue