misc: chore: Use explicit types & fix object creation

This commit is contained in:
KeatonTheBot
2026-05-30 16:26:50 -05:00
parent 9d3fecf334
commit 76a123b81d
454 changed files with 3042 additions and 2961 deletions
@@ -6,6 +6,7 @@ using Ryujinx.Graphics.OpenGL.Image;
using Ryujinx.Graphics.OpenGL.Queries;
using Ryujinx.Graphics.Shader.Translation;
using System;
using BufferAccess = Ryujinx.Graphics.GAL.BufferAccess;
namespace Ryujinx.Graphics.OpenGL
{
@@ -63,7 +64,7 @@ namespace Ryujinx.Graphics.OpenGL
{
BufferCount++;
var memType = access & GAL.BufferAccess.MemoryTypeMask;
BufferAccess memType = access & GAL.BufferAccess.MemoryTypeMask;
if (memType == GAL.BufferAccess.HostMemory)
{