mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-30 02:06:25 +02: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
|
@ -177,7 +177,7 @@ namespace Ryujinx.Graphics.OpenGL
|
|||
{
|
||||
int vbIndex = BitOperations.TrailingZeroCount(buffersInUse);
|
||||
|
||||
ref var vb = ref _vertexBuffers[vbIndex];
|
||||
ref VertexBufferDescriptor vb = ref _vertexBuffers[vbIndex];
|
||||
|
||||
int requiredSize = vertexCount * vb.Stride;
|
||||
|
||||
|
@ -232,7 +232,7 @@ namespace Ryujinx.Graphics.OpenGL
|
|||
{
|
||||
int vbIndex = BitOperations.TrailingZeroCount(buffersLimited);
|
||||
|
||||
ref var vb = ref _vertexBuffers[vbIndex];
|
||||
ref VertexBufferDescriptor vb = ref _vertexBuffers[vbIndex];
|
||||
|
||||
GL.BindVertexBuffer(vbIndex, vb.Buffer.Handle.ToInt32(), (nint)vb.Buffer.Offset, vb.Stride);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue