misc: chore: Use explicit types in OpenGL project

This commit is contained in:
Evan Husted 2025-01-25 14:12:37 -06:00
parent 2d1a4c3ce5
commit 58c1ab7989
14 changed files with 65 additions and 63 deletions

View file

@ -12,7 +12,7 @@ namespace Ryujinx.Graphics.OpenGL.Effects
public static int CompileProgram(string[] shaders, ShaderType shaderType)
{
var shader = GL.CreateShader(shaderType);
int shader = GL.CreateShader(shaderType);
GL.ShaderSource(shader, shaders.Length, shaders, (int[])null);
GL.CompileShader(shader);
@ -25,7 +25,7 @@ namespace Ryujinx.Graphics.OpenGL.Effects
return 0;
}
var program = GL.CreateProgram();
int program = GL.CreateProgram();
GL.AttachShader(program, shader);
GL.LinkProgram(program);