mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-29 08:46:24 +02:00
misc: chore: Fix object creation in Gpu project
This commit is contained in:
parent
4e47c86f90
commit
929a16dd26
18 changed files with 231 additions and 231 deletions
|
@ -663,7 +663,7 @@ namespace Ryujinx.Graphics.Gpu.Memory
|
|||
/// <param name="overlapsCount">Total of overlaps</param>
|
||||
private void CreateBufferAligned(ulong address, ulong size, BufferStage stage, bool sparseCompatible, Buffer[] overlaps, int overlapsCount)
|
||||
{
|
||||
Buffer newBuffer = new Buffer(_context, _physicalMemory, address, size, stage, sparseCompatible, overlaps.Take(overlapsCount));
|
||||
Buffer newBuffer = new(_context, _physicalMemory, address, size, stage, sparseCompatible, overlaps.Take(overlapsCount));
|
||||
|
||||
lock (_buffers)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue