mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-17 22:36:58 +00:00
misc: chore: Use explicit types in OpenGL project
This commit is contained in:
parent
2d1a4c3ce5
commit
58c1ab7989
14 changed files with 65 additions and 63 deletions
|
|
@ -57,7 +57,7 @@ namespace Ryujinx.Graphics.OpenGL.Image
|
|||
/// <inheritdoc/>
|
||||
public void SetData(MemoryOwner<byte> data)
|
||||
{
|
||||
var dataSpan = data.Span;
|
||||
Span<byte> dataSpan = data.Span;
|
||||
|
||||
Buffer.SetData(_buffer, _bufferOffset, dataSpan[..Math.Min(dataSpan.Length, _bufferSize)]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue