mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-08 19:28:27 +02:00
Fix 3 graphics related issues (#180)
* Fix 3 graphics related bugs * OGLShader shouldn't be public (yet)
This commit is contained in:
@@ -24,14 +24,14 @@ namespace Ryujinx.HLE.OsHle.Services.Nv.NvMap
|
||||
this.Size = Size;
|
||||
}
|
||||
|
||||
public long IncrementRefCount()
|
||||
public void IncrementRefCount()
|
||||
{
|
||||
return Interlocked.Increment(ref Dupes);
|
||||
Interlocked.Increment(ref Dupes);
|
||||
}
|
||||
|
||||
public long DecrementRefCount()
|
||||
{
|
||||
return Interlocked.Decrement(ref Dupes);
|
||||
return Interlocked.Decrement(ref Dupes) + 1;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user