mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-30 06:47:10 +02:00
Fix wrong maximum id on sampler pool in some cases
This commit is contained in:
parent
d5e8fc5c08
commit
12f573e342
6 changed files with 14 additions and 10 deletions
|
@ -11,12 +11,15 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||
|
||||
protected T[] Items;
|
||||
|
||||
public int MaximumId { get; }
|
||||
|
||||
public ulong Address { get; }
|
||||
public ulong Size { get; }
|
||||
|
||||
public Pool(GpuContext context, ulong address, int maximumId)
|
||||
{
|
||||
Context = context;
|
||||
Context = context;
|
||||
MaximumId = maximumId;
|
||||
|
||||
int count = maximumId + 1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue