chore: converted BufferHandle ToInt32 extension to an implicit int operator on BufferHandle directly.

This commit is contained in:
GreemDev 2025-07-03 23:21:51 -05:00
parent 1f3e4674b5
commit f2105d6040
8 changed files with 29 additions and 32 deletions

View file

@ -97,7 +97,7 @@ namespace Ryujinx.Graphics.OpenGL.Image
SizedInternalFormat format = (SizedInternalFormat)FormatTable.GetFormatInfo(Info.Format).PixelInternalFormat;
GL.TexBufferRange(TextureBufferTarget.TextureBuffer, format, _buffer.ToInt32(), (nint)buffer.Offset, buffer.Size);
GL.TexBufferRange(TextureBufferTarget.TextureBuffer, format, _buffer, (nint)buffer.Offset, buffer.Size);
}
public void Dispose()