mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-26 22:40:27 +00:00
Try to fix build again
This commit is contained in:
parent
9dc4aeccc5
commit
ffb41778c3
1 changed files with 5 additions and 3 deletions
|
@ -107,7 +107,7 @@ namespace LayoutBXLYT
|
|||
|
||||
public int this[string name]
|
||||
{
|
||||
get => uniforms[name];
|
||||
get { return uniforms[name]; }
|
||||
}
|
||||
|
||||
private void LoadAttributes(int program)
|
||||
|
@ -117,7 +117,8 @@ namespace LayoutBXLYT
|
|||
GL.GetProgram(program, GetProgramParameterName.ActiveAttributes, out activeAttributeCount);
|
||||
for (int i = 0; i < activeAttributeCount; i++)
|
||||
{
|
||||
string name = GL.GetActiveAttrib(program, i, out int size, out ActiveAttribType type);
|
||||
int size = 0;
|
||||
string name = GL.GetActiveAttrib(program, i, out size, out ActiveAttribType type);
|
||||
int location = GL.GetAttribLocation(program, name);
|
||||
|
||||
// Overwrite existing vertex attributes.
|
||||
|
@ -132,7 +133,8 @@ namespace LayoutBXLYT
|
|||
GL.GetProgram(program, GetProgramParameterName.ActiveUniforms, out activeAttributeCount);
|
||||
for (int i = 0; i < activeAttributeCount; i++)
|
||||
{
|
||||
string name = GL.GetActiveUniform(program, i, out int size, out ActiveUniformType type);
|
||||
int size = 0;
|
||||
string name = GL.GetActiveUniform(program, i, out size, out ActiveUniformType type);
|
||||
int location = GL.GetUniformLocation(program, name);
|
||||
|
||||
// Overwrite existing vertex attributes.
|
||||
|
|
Loading…
Reference in a new issue